Skip to content

Commit e1a52ec

Browse files
authored
Merge pull request #193405 from amibp/master
Add missing information to hyperdrive docs
2 parents ffe2240 + ee11af0 commit e1a52ec

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

articles/machine-learning/how-to-tune-hyperparameters.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ Specify the following configuration parameters:
213213
* `delay_evaluation`: (optional) delays the first policy evaluation for a specified number of intervals
214214

215215

216+
216217
```Python
217218
from azureml.train.hyperdrive import BanditPolicy
218219
early_termination_policy = BanditPolicy(slack_factor = 0.1, evaluation_interval=1, delay_evaluation=5)
@@ -245,14 +246,15 @@ This policy takes the following configuration parameters:
245246
* `truncation_percentage`: the percentage of lowest performing runs to terminate at each evaluation interval. An integer value between 1 and 99.
246247
* `evaluation_interval`: (optional) the frequency for applying the policy
247248
* `delay_evaluation`: (optional) delays the first policy evaluation for a specified number of intervals
249+
* `exclude_finished_jobs`: specifies whether to exclude finished jobs when applying the policy
248250

249251

250252
```Python
251253
from azureml.train.hyperdrive import TruncationSelectionPolicy
252-
early_termination_policy = TruncationSelectionPolicy(evaluation_interval=1, truncation_percentage=20, delay_evaluation=5)
254+
early_termination_policy = TruncationSelectionPolicy(evaluation_interval=1, truncation_percentage=20, delay_evaluation=5, exclude_finished_jobs=true)
253255
```
254256

255-
In this example, the early termination policy is applied at every interval starting at evaluation interval 5. A run terminates at interval 5 if its performance at interval 5 is in the lowest 20% of performance of all runs at interval 5.
257+
In this example, the early termination policy is applied at every interval starting at evaluation interval 5. A run terminates at interval 5 if its performance at interval 5 is in the lowest 20% of performance of all runs at interval 5 and will exclude finished jobs when applying the policy.
256258

257259
### No termination policy (default)
258260

articles/machine-learning/tutorial-automated-ml-forecast.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Before you configure your experiment, upload your data file to your workspace in
7979
File format|Defines the layout and type of data stored in a file.| Delimited
8080
Delimiter|One or more characters for specifying the boundary between  separate, independent regions in plain text or other data streams. |Comma
8181
Encoding|Identifies what bit to character schema table to use to read your dataset.| UTF-8
82-
Column headers| Indicates how the headers of the dataset, if any, will be treated.| Use headers from the first file
82+
Column headers| Indicates how the headers of the dataset, if any, will be treated.| Only first file has headers
8383
Skip rows | Indicates how many, if any, rows are skipped in the dataset.| None
8484

8585
1. The **Schema** form allows for further configuration of your data for this experiment.

0 commit comments

Comments
 (0)