Skip to content

Commit a27e6bd

Browse files
authored
Add images to article
1 parent a23af62 commit a27e6bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ test_labels = test_data.pop(label).values
106106
You can specify separate train and validation sets directly in the `AutoMLConfig` constructor.
107107

108108
### Rolling Origin Cross Validation
109-
Rolling Origin Cross Validation (ROCV) is automatically used for forecasting tasks by passing the training and validation data together and setting the number of cross validation folds using `n_cross_validations`. For time series forecasting ROCV is used to split time series in a temporally consistent way. ROCV divides the series into training and validation data using an origin time point. Sliding the origin in time generates the cross-validation folds. This strategy will preserve the time series data integrity and eliminate the risk of data leakage.
109+
For time series forecasting Rolling Origin Cross Validation (ROCV) is used to split time series in a temporally consistent way. ROCV divides the series into training and validation data using an origin time point. Sliding the origin in time generates the cross-validation folds. This strategy will preserve the time series data integrity and eliminate the risk of data leakage. ROCV is automatically used for forecasting tasks by passing the training and validation data together and setting the number of cross validation folds using `n_cross_validations`.
110110

111-
<insert picture>
111+
![alt text](./media/how-to-auto-train-forecast/ROCV.svg)
112112

113113
## Configure and run experiment
114114

@@ -213,13 +213,13 @@ View the [Beverage Production Forecasting notebook](https://github.com/Azure/Mac
213213
### Target Rolling Window Aggregation
214214
Often the best information a forecaster can have is the recent value of the target. Creating cumulative statistics of the target may increase the accuracy of your predictions. Target rolling window aggregations allows you to add a rolling aggregation of data values as features. To enable target rolling windows set the `target_rolling_window_size` to your desired integer window size.
215215

216-
An example of this can be seen when predicting energy demand. You might add a rolling window feature of three days to account for themral changes of heated space. In the example below, we've create this window of size three by setting `target_rolling_window_size=3` in the `AutoMLConfig` constructor. The table shows feature engineering that occurs when window aggregation is applied. Columns for minimum, maximum, and sum are generated on a sliding window of three based on the defined settings. Each row has a new calculated feature, in the case of the time-stamp for September 8, 2017 4:00am the maximum, minimm, and sum values are calculated using the demand values for Septeber 8, 2017 1:00AM - 3:00AM. This window of three shifts along to populate data for the remaining rows.
216+
An example of this can be seen when predicting energy demand. You might add a rolling window feature of three days to account for themral changes of heated spaces. In the example below, we've create this window of size three by setting `target_rolling_window_size=3` in the `AutoMLConfig` constructor. The table shows feature engineering that occurs when window aggregation is applied. Columns for minimum, maximum, and sum are generated on a sliding window of three based on the defined settings. Each row has a new calculated feature, in the case of the time-stamp for September 8, 2017 4:00am the maximum, minimm, and sum values are calculated using the demand values for Septeber 8, 2017 1:00AM - 3:00AM. This window of three shifts along to populate data for the remaining rows.
217217

218-
<insert picture>
218+
![alt text](./media/how-to-auto-train-forecast/target-roll.svg)
219219

220220
Generating and using these additional features as extra contextual data helps with the accuracy of the train model.
221221

222-
View a Python notebook example of leveraging the [target rolling window aggregate feature](https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/automated-machine-learning/forecasting-energy-demand/auto-ml-forecasting-energy-demand.ipynb).
222+
View a Python code example leveraging the [target rolling window aggregate feature](https://github.com/Azure/MachineLearningNotebooks/blob/master/how-to-use-azureml/automated-machine-learning/forecasting-energy-demand/auto-ml-forecasting-energy-demand.ipynb).
223223

224224
### View feature engineering summary
225225

0 commit comments

Comments
 (0)