Incremental training within rolling window #479
-
It's certain that my model does drift as time passes by in nature. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello there. In general you can't explicitely set a window. It all depends on the model you're using. For instance, with I hope this helps! |
Beta Was this translation helpful? Give feedback.
Hello there. In general you can't explicitely set a window. It all depends on the model you're using. For instance, with
neighbors.KNNClassifier
, there's awindow_size
parameter. But withlinear_model.LogisticRegression
there's no such parameter. However, you can increase/lower the learning rate of the optimizer to produce the same effect. I don't think there's any best practice: it depends on your data. You should simply do some progressive validation with different parameters and see what happens.I hope this helps!