Skip to content

Commit 85c0f79

Browse files
initial commit
1 parent 73a41b0 commit 85c0f79

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,13 @@ best_run, fitted_model = local_run.get_output()
294294

295295
## Forecasting with best model
296296

297-
Use the best model iteration to forecast values for data that wasn't used to train the model.
297+
Use the best model iteration to forecast values for data that wasn't used to train the model.
298+
299+
### Evaluating model accuracy with a rolling forecast
300+
301+
Before you put a model into production, you should evaluate its accuracy on a test set held out from the training data. A best practice procedure is a so-called rolling evaluation which rolls the trained forecaster forward in time over the test set, averaging error metrics over several prediction windows to obtain statistically robust estimates for some set of chosen metrics. Ideally, the test set for the evaluation is long relative to the model's forecast horizon; estimates of forecasting error may otherwise be statistically noisy and, therefore, less reliable.
302+
303+
### Prediction into the future
298304

299305
The [forecast_quantiles()](/python/api/azureml-train-automl-client/azureml.train.automl.model_proxy.modelproxy#forecast-quantiles-x-values--typing-any--y-values--typing-union-typing-any--nonetype----none--forecast-destination--typing-union-typing-any--nonetype----none--ignore-data-errors--bool---false-----azureml-data-abstract-dataset-abstractdataset) function allows specifications of when predictions should start, unlike the `predict()` method, which is typically used for classification and regression tasks. The forecast_quantiles() method by default generates a point forecast or a mean/median forecast which doesn't have a cone of uncertainty around it. Learn more in the [Forecasting away from training data notebook](https://github.com/Azure/azureml-examples/blob/main/v1/python-sdk/tutorials/automl-with-azureml/forecasting-forecast-function/auto-ml-forecasting-function.ipynb).
300306

0 commit comments

Comments
 (0)