Compartilhar via


TruncationSelectionPolicy Class

Defines an early termination policy that cancels a given percentage of runs at each evaluation interval.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.machinelearningservices.models._models_py3.EarlyTerminationPolicy
TruncationSelectionPolicy

Constructor

TruncationSelectionPolicy(*, delay_evaluation: int = 0, evaluation_interval: int = 0, truncation_percentage: int = 0, **kwargs: Any)

Keyword-Only Parameters

Name Description
delay_evaluation
int

Number of intervals by which to delay the first evaluation.

evaluation_interval
int

Interval (number of runs) between policy evaluations.

truncation_percentage
int

The percentage of runs to cancel at each evaluation interval.

Variables

Name Description
delay_evaluation
int

Number of intervals by which to delay the first evaluation.

evaluation_interval
int

Interval (number of runs) between policy evaluations.

policy_type

[Required] Name of policy configuration. Required. Known values are: "Bandit", "MedianStopping", and "TruncationSelection".

truncation_percentage
int

The percentage of runs to cancel at each evaluation interval.