Replies: 2 comments
-
Thank you for your question @chemalug |
Beta Was this translation helpful? Give feedback.
-
That’s a great question. In time series forecasting with SVM (or similar supervised models), you typically don’t have future x_test values available. The common approach is to use past data to generate features that represent patterns (such as lag values, rolling averages, or other engineered time-dependent features). Once the model is trained, you can forecast step by step: predict the next time point using the latest available features, then feed that prediction back as input to generate the next forecast, and so on, until you reach the desired horizon (e.g., 15 days). This iterative or recursive strategy is one of the standard ways to extend supervised models like SVM to forecasting tasks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello and thank you very much for the contribution. My question is with reference to forecasting using SVM, since how could you forecast 15 days into the future without knowing the x_test variable?
Beta Was this translation helpful? Give feedback.
All reactions