Class ImageSweepSettings
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ImageSweepSettings
-
public final class ImageSweepSettings extends Object
Model sweeping and hyperparameter sweeping related settings.
-
-
Constructor Summary
Constructors Constructor Description ImageSweepSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EarlyTerminationPolicy
earlyTermination()
Get the earlyTermination property: Type of early termination policy.ImageSweepLimitSettings
limits()
Get the limits property: [Required] Limit settings for model sweeping and hyperparameter sweeping.SamplingAlgorithmType
samplingAlgorithm()
Get the samplingAlgorithm property: [Required] Type of the hyperparameter sampling algorithms.void
validate()
Validates the instance.ImageSweepSettings
withEarlyTermination(EarlyTerminationPolicy earlyTermination)
Set the earlyTermination property: Type of early termination policy.ImageSweepSettings
withLimits(ImageSweepLimitSettings limits)
Set the limits property: [Required] Limit settings for model sweeping and hyperparameter sweeping.ImageSweepSettings
withSamplingAlgorithm(SamplingAlgorithmType samplingAlgorithm)
Set the samplingAlgorithm property: [Required] Type of the hyperparameter sampling algorithms.
-
-
-
Method Detail
-
earlyTermination
public EarlyTerminationPolicy earlyTermination()
Get the earlyTermination property: Type of early termination policy.- Returns:
- the earlyTermination value.
-
withEarlyTermination
public ImageSweepSettings withEarlyTermination(EarlyTerminationPolicy earlyTermination)
Set the earlyTermination property: Type of early termination policy.- Parameters:
earlyTermination
- the earlyTermination value to set.- Returns:
- the ImageSweepSettings object itself.
-
limits
public ImageSweepLimitSettings limits()
Get the limits property: [Required] Limit settings for model sweeping and hyperparameter sweeping.- Returns:
- the limits value.
-
withLimits
public ImageSweepSettings withLimits(ImageSweepLimitSettings limits)
Set the limits property: [Required] Limit settings for model sweeping and hyperparameter sweeping.- Parameters:
limits
- the limits value to set.- Returns:
- the ImageSweepSettings object itself.
-
samplingAlgorithm
public SamplingAlgorithmType samplingAlgorithm()
Get the samplingAlgorithm property: [Required] Type of the hyperparameter sampling algorithms.- Returns:
- the samplingAlgorithm value.
-
withSamplingAlgorithm
public ImageSweepSettings withSamplingAlgorithm(SamplingAlgorithmType samplingAlgorithm)
Set the samplingAlgorithm property: [Required] Type of the hyperparameter sampling algorithms.- Parameters:
samplingAlgorithm
- the samplingAlgorithm value to set.- Returns:
- the ImageSweepSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-