Getting Prediction Error: AttributeError: 'StatsForecast' object has no attribute 'fitted_' #743
Replies: 2 comments 1 reply
-
Hey @guzinerdem, thanks for using statsforecast. Can you please provide the code that you're running? |
Beta Was this translation helpful? Give feedback.
-
I am getting the same error, following the instructions to use Mlflow, it is not pissible to fit the model, when a call sf.fit(), i get 'StatsForecast' object has no attribute "'ga'". And when i log the model without fit, and trying to predict, i get 'StatsForecast' object has no attribute 'fitted_' AttributeError: 'StatsForecast' object has no attribute 'fitted_'AttributeError Traceback (most recent call last) File /local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.9/site-packages/statsforecast/core.py:976, in _StatsForecast.predict(self, h, X_df, level) AttributeError: 'StatsForecast' object has no attribute 'fitted_' |
Beta Was this translation helpful? Give feedback.
-
Hi,
After training and saving models with statsforecast, when I try to make prediction with sf.predict() I get AttributeError: 'StatsForecast' object has no attribute 'fitted_', how can I make prediction easily?
Beta Was this translation helpful? Give feedback.
All reactions