One-step-ahead Forecast (Fitted values) from Test Set #385
Answered
by
jmoralez
RodolfoViegas
asked this question in
Q&A
-
Hi, is there possible to get the fitted values from test set? After doing cross-validation process, when I use the method .predict() with a new series (new_df=test_set), what the method does are forecasts out-of-sample test set, however a I would like to receive the fitted values (one-step-ahead forecast) from the test set. Similar to predict from sklearn. Is it possible? Thanks for you help, this is for my research. |
Beta Was this translation helpful? Give feedback.
Answered by
jmoralez
Jul 23, 2024
Replies: 1 comment 8 replies
-
Anyone? Sorry if my question was stupid, but I need this information |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can define those lags as exogenous features and provide them during fit and predict, but in that case mlforecast won't do much for you, you may be better off using scikit-learn directly.