Skip to content

Commit b5fe0ce

Browse files
authored
Merge pull request #98697 from mobaniha/patch-3
change **forecasting_parameters
2 parents 3aaddfd + b8ff84b commit b5fe0ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/machine-learning/how-to-auto-train-forecast.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ automl_config = AutoMLConfig(task='forecasting',
126126
cv_step_size = "auto", # Could be customized as an integer
127127
enable_ensembling=False,
128128
verbosity=logging.INFO,
129-
**forecasting_parameters)
129+
forecasting_parameters=forecasting_parameters)
130130
```
131131

132132
The amount of data required to successfully train a forecasting model with automated ML is influenced by the `forecast_horizon`, `n_cross_validations`, and `target_lags` or `target_rolling_window_size` values specified when you configure your `AutoMLConfig`.
@@ -229,7 +229,7 @@ To enable deep learning, set the `enable_dnn=True` in the `AutoMLConfig` object.
229229
automl_config = AutoMLConfig(task='forecasting',
230230
enable_dnn=True,
231231
...
232-
**forecasting_parameters)
232+
forecasting_parameters=forecasting_parameters)
233233
```
234234
> [!Warning]
235235
> When you enable DNN for experiments created with the SDK, [best model explanations](how-to-machine-learning-interpretability-automl.md) are disabled.

0 commit comments

Comments
 (0)