Skip to content

Dummy Regressor returning the value in t-1? #1090

Discussion options

You must be logged in to vote

Hey there. This should work:

from river import dummy, stats

model = dummy.StatisticRegressor(stats.Shift(1))

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@XaviMartiCamarasa
Comment options

@MaxHalford
Comment options

@XaviMartiCamarasa
Comment options

@MaxHalford
Comment options

@XaviMartiCamarasa
Comment options

Answer selected by XaviMartiCamarasa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants