Class MedianStoppingPolicy
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.EarlyTerminationPolicy
-
- com.azure.resourcemanager.machinelearning.models.MedianStoppingPolicy
-
public final class MedianStoppingPolicy extends EarlyTerminationPolicy
Defines an early termination policy based on running averages of the primary metric of all runs.
-
-
Constructor Summary
Constructors Constructor Description MedianStoppingPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.MedianStoppingPolicy
withDelayEvaluation(Integer delayEvaluation)
Set the delayEvaluation property: Number of intervals by which to delay the first evaluation.MedianStoppingPolicy
withEvaluationInterval(Integer evaluationInterval)
Set the evaluationInterval property: Interval (number of runs) between policy evaluations.-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.EarlyTerminationPolicy
delayEvaluation, evaluationInterval
-
-
-
-
Method Detail
-
withDelayEvaluation
public MedianStoppingPolicy withDelayEvaluation(Integer delayEvaluation)
Set the delayEvaluation property: Number of intervals by which to delay the first evaluation.- Overrides:
withDelayEvaluation
in classEarlyTerminationPolicy
- Parameters:
delayEvaluation
- the delayEvaluation value to set.- Returns:
- the EarlyTerminationPolicy object itself.
-
withEvaluationInterval
public MedianStoppingPolicy withEvaluationInterval(Integer evaluationInterval)
Set the evaluationInterval property: Interval (number of runs) between policy evaluations.- Overrides:
withEvaluationInterval
in classEarlyTerminationPolicy
- Parameters:
evaluationInterval
- the evaluationInterval value to set.- Returns:
- the EarlyTerminationPolicy object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classEarlyTerminationPolicy
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-