Closed g1za closed 2 weeks ago
Describe the bug When running model-tune, in the log I can see:
/usr/local/lib/python3.11/dist-packages/skforecast/model_selection/model_selection.py:1346: UserWarning:
The 'lags_grid' argument is deprecated and will be removed in a future version. Use the 'search_space' argument to define the candidate values for the lags. Example: {'lags' : trial.suggest_categorical('lags', [3, 5])}
Forecaster refitted using the best-found lags and parameters, and the whole data set: Lags: [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48] Parameters: {'n_neighbors': 14, 'leaf_size': 37, 'weights': 'uniform'} Backtesting metric: -0.21432647830733909
Forecaster
Home Assistant installation type Core 2024.6.2 Supervisor 2024.06.0 Operating System 12.3 Frontend 20240610.0
Your hardware
EMHASS installation type
I thanks for remarking this. This is already solved in the current code but not yet released. So it will be fixed in the following release
Describe the bug When running model-tune, in the log I can see:
/usr/local/lib/python3.11/dist-packages/skforecast/model_selection/model_selection.py:1346: UserWarning:
The 'lags_grid' argument is deprecated and will be removed in a future version. Use the 'search_space' argument to define the candidate values for the lags. Example: {'lags' : trial.suggest_categorical('lags', [3, 5])}
Forecaster
refitted using the best-found lags and parameters, and the whole data set: Lags: [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48] Parameters: {'n_neighbors': 14, 'leaf_size': 37, 'weights': 'uniform'} Backtesting metric: -0.21432647830733909Home Assistant installation type Core 2024.6.2 Supervisor 2024.06.0 Operating System 12.3 Frontend 20240610.0
Your hardware
EMHASS installation type