Forecasting with a exogenous variable #465
Unanswered
Yasslight90
asked this question in
General
Replies: 2 comments
-
Hey Yassine. Thanks for reaching out with your issue. I'm not sure what your dataset looks like, but here are examples of using FLAML with exogenous variables: https://github.com/microsoft/FLAML/blob/main/test/automl/test_forecast.py#L161 and https://github.com/microsoft/FLAML/blob/main/test/automl/test_forecast.py#L242 Let me know if you have any other questions |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you! It is all working fine now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I just upgraded my FLAML version to v0.9.7 to test the impact of a exogenous variable. To do so, I passed a dataframe of two columns (date, exogenous variable) to the X_train parameter and the series to forecast to the y_train parameter. However, the test failed and returned the following error:
ValueError: Pandas data cast to numpy dtype of object. Check input data with np.asarray(data).
can you please give me an example to illustrate the use of FLAML with exogenous variables?
Thank you!
Yassine
Beta Was this translation helpful? Give feedback.
All reactions