java.lang.Object
com.azure.resourcemanager.machinelearning.models.ImageVertical
All Implemented Interfaces:
com.azure.json.JsonSerializable<ImageVertical>
Direct Known Subclasses:
ImageClassificationBase, ImageObjectDetectionBase

public class ImageVertical extends Object implements com.azure.json.JsonSerializable<ImageVertical>
Abstract class for AutoML tasks that train image (computer vision) models - such as Image Classification / Image Classification Multilabel / Image Object Detection / Image Instance Segmentation.
  • Constructor Details

    • ImageVertical

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

    • limitSettings

      public ImageLimitSettings limitSettings()
      Get the limitSettings property: [Required] Limit settings for the AutoML job.
      Returns:
      the limitSettings value.
    • withLimitSettings

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

      public ImageSweepSettings sweepSettings()
      Get the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.
      Returns:
      the sweepSettings value.
    • withSweepSettings

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

      public MLTableJobInput validationData()
      Get the validationData property: Validation data inputs.
      Returns:
      the validationData value.
    • withValidationData

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

      public Double validationDataSize()
      Get 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.
      Returns:
      the validationDataSize value.
    • withValidationDataSize

      public ImageVertical 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.
      Parameters:
      validationDataSize - the validationDataSize value to set.
      Returns:
      the ImageVertical object itself.
    • validate

      public void validate()
      Validates the instance.
      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>
      Throws:
      IOException
    • fromJson

      public static ImageVertical fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ImageVertical from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ImageVertical 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 ImageVertical.