Aracılığıyla paylaş


BanditPolicy Class

Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation.

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

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

Constructor

BanditPolicy(*, delay_evaluation: int = 0, evaluation_interval: int = 0, slack_amount: float = 0, slack_factor: float = 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.

slack_amount

Absolute distance allowed from the best performing run.

slack_factor

Ratio of the allowed distance from the best performing run.

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".

slack_amount

Absolute distance allowed from the best performing run.

slack_factor

Ratio of the allowed distance from the best performing run.