Class ImageSweepSettings


  • public final class ImageSweepSettings
    extends Object
    Model sweeping and hyperparameter sweeping related settings.
    • Constructor Detail

      • ImageSweepSettings

        public ImageSweepSettings()
    • 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.