Dummy Regressor returning the value in t-1? #1090
Answered
by
MaxHalford
XaviMartiCamarasa
asked this question in
Q&A
-
Hi. Many Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
MaxHalford
Nov 14, 2022
Replies: 1 comment 6 replies
-
Hey there. This should work: from river import dummy, stats
model = dummy.StatisticRegressor(stats.Shift(1)) |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
XaviMartiCamarasa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there. This should work: