Hello everyone, I'm trying to run some of the exam...
# mlforecast
b
Hello everyone, I'm trying to run some of the example notebooks in the documentation. I am getting an error on https://nixtlaverse.nixtla.io/mlforecast/optimization.html that says
NameError: name 'mlforecast_objective' is not defined.
I have the most recent version installed Name: mlforecast Version: 1.0.0 Summary: Scalable machine learning based time series forecasting Home-page: https://github.com/Nixtla/mlforecast Author: José Morales Author-email: jmoralz92@gmail.com License: Apache Software License 2.0 Location: /home/trusted-service-user/cluster-env/trident_env/lib/python3.11/site-packages Requires: cloudpickle, coreforecast, fsspec, optuna, pandas, scikit-learn, utilsforecast Required-by: Note: you may need to restart the kernel to use updated packages.
j
You probably need:
from mlforecast.optimization import mlforecast_objective
Or you can run the full notebook
b
That did the trick!
Thank you so much. Also, this library is fantastic. I've had so much fun exploring all of the features.
🙌 1