BanditPolicy Class

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

Inheritance
azure.ai.ml.entities._job.sweep.early_termination_policy.EarlyTerminationPolicy
BanditPolicy

Constructor

BanditPolicy(*, delay_evaluation: int = 0, evaluation_interval: int = 0, slack_amount: float = 0, slack_factor: float = 0)

Parameters

delay_evaluation
int
Required

Number of intervals by which to delay the first evaluation.

evaluation_interval
int
Required

Interval (number of runs) between policy evaluations.

slack_amount
float
Required

Absolute distance allowed from the best performing run.

slack_factor
float
Required

Ratio of the allowed distance from the best performing run.