AutoViML / Auto_TS

Automatically build ARIMA, SARIMAX, VAR, FB Prophet and XGBoost Models on Time Series data sets with a Single Line of Code. Created by Ram Seshadri. Collaborators welcome.
Apache License 2.0
723 stars 113 forks source link

How do you save the best model? #66

Closed miggytrinidad closed 2 years ago

miggytrinidad commented 2 years ago

I tried using pickle but it says lambda function cannot be saved into a pkl file. How do you save the best model?

AutoViML commented 2 years ago

Hi @miggytrinidad : If the best model is an ML model you can save it using Pickle. See the bottom of this notebook for an example of how to save a model:

https://github.com/AutoViML/Auto_TS/blob/master/example_notebooks/autots_multivariate_example.ipynb

AutoViML commented 2 years ago

This should be fixed with the latest version. please do: pip install auto-ts --upgrade

Thanks for your patience AutoViML