Nixtla / neuralforecast

Scalable and user friendly neural :brain: forecasting algorithms.
https://nixtlaverse.nixtla.io/neuralforecast
Apache License 2.0
3.07k stars 355 forks source link

TypeError: __init__() got an unexpected keyword argument 'backend' #771

Closed luoolu closed 1 year ago

luoolu commented 1 year ago

TypeError: init() got an unexpected keyword argument 'backend'

AutoNHITS TypeError: init() got an unexpected keyword argument 'backend'

Versions / Dependencies

latest release version

Reproduction script

models = [AutoNHITS(h=1, loss=MAE(), config=config_nhits, search_alg=optuna.samplers.TPESampler(), backend='optuna', verbose=True, num_samples=10)]

Issue Severity

High: It blocks me from completing my task.

cchallu commented 1 year ago

Hi @luoolu. We did the release with the backend parameter on pip today; it should be fixed in the latest version.

luoolu commented 1 year ago

thanks

jmoralez commented 1 year ago

Closing since this should be fixed by upgrading. Feel free to reopen if you encounter this issue again.