Class ImageClassificationBase

java.lang.Object
com.azure.resourcemanager.machinelearning.models.ImageVertical
com.azure.resourcemanager.machinelearning.models.ImageClassificationBase
All Implemented Interfaces:
com.azure.json.JsonSerializable<ImageVertical>

public class ImageClassificationBase extends ImageVertical
The ImageClassificationBase model.
  • Constructor Details

    • ImageClassificationBase

      public ImageClassificationBase()
      Creates an instance of ImageClassificationBase class.
  • Method Details

    • modelSettings

      public ImageModelSettingsClassification modelSettings()
      Get the modelSettings property: Settings used for training the model.
      Returns:
      the modelSettings value.
    • withModelSettings

      public ImageClassificationBase withModelSettings(ImageModelSettingsClassification modelSettings)
      Set the modelSettings property: Settings used for training the model.
      Parameters:
      modelSettings - the modelSettings value to set.
      Returns:
      the ImageClassificationBase object itself.
    • searchSpace

      Get the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.
      Returns:
      the searchSpace value.
    • withSearchSpace

      Set the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.
      Parameters:
      searchSpace - the searchSpace value to set.
      Returns:
      the ImageClassificationBase object itself.
    • withLimitSettings

      public ImageClassificationBase withLimitSettings(ImageLimitSettings limitSettings)
      Set the limitSettings property: [Required] Limit settings for the AutoML job.
      Overrides:
      withLimitSettings in class ImageVertical
      Parameters:
      limitSettings - the limitSettings value to set.
      Returns:
      the ImageVertical object itself.
    • withSweepSettings

      public ImageClassificationBase withSweepSettings(ImageSweepSettings sweepSettings)
      Set the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.
      Overrides:
      withSweepSettings in class ImageVertical
      Parameters:
      sweepSettings - the sweepSettings value to set.
      Returns:
      the ImageVertical object itself.
    • withValidationData

      public ImageClassificationBase withValidationData(MLTableJobInput validationData)
      Set the validationData property: Validation data inputs.
      Overrides:
      withValidationData in class ImageVertical
      Parameters:
      validationData - the validationData value to set.
      Returns:
      the ImageVertical object itself.
    • withValidationDataSize

      public ImageClassificationBase withValidationDataSize(Double validationDataSize)
      Set the validationDataSize property: The fraction of training dataset that needs to be set aside for validation purpose. Values between (0.0 , 1.0) Applied when validation dataset is not provided.
      Overrides:
      withValidationDataSize in class ImageVertical
      Parameters:
      validationDataSize - the validationDataSize value to set.
      Returns:
      the ImageVertical object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ImageVertical
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ImageVertical>
      Overrides:
      toJson in class ImageVertical
      Throws:
      IOException
    • fromJson

      public static ImageClassificationBase fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ImageClassificationBase from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ImageClassificationBase if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ImageClassificationBase.