Class ImageClassificationMultilabel

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

public final class ImageClassificationMultilabel extends AutoMLVertical
Image Classification Multilabel. Multi-label image classification is used when an image could have one or more labels from a set of labels - e.g. an image could be labeled with both 'cat' and 'dog'.
  • Constructor Details

    • ImageClassificationMultilabel

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

    • taskType

      public TaskType taskType()
      Get the taskType property: [Required] Task type for AutoMLJob.
      Overrides:
      taskType in class AutoMLVertical
      Returns:
      the taskType value.
    • primaryMetric

      Get the primaryMetric property: Primary metric to optimize for this task.
      Returns:
      the primaryMetric value.
    • withPrimaryMetric

      Set the primaryMetric property: Primary metric to optimize for this task.
      Parameters:
      primaryMetric - the primaryMetric value to set.
      Returns:
      the ImageClassificationMultilabel object itself.
    • modelSettings

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

      public ImageClassificationMultilabel withModelSettings(ImageModelSettingsClassification modelSettings)
      Set the modelSettings property: Settings used for training the model.
      Parameters:
      modelSettings - the modelSettings value to set.
      Returns:
      the ImageClassificationMultilabel 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 ImageClassificationMultilabel object itself.
    • limitSettings

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

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

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

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

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

      public ImageClassificationMultilabel withValidationData(MLTableJobInput validationData)
      Set the validationData property: Validation data inputs.
      Parameters:
      validationData - the validationData value to set.
      Returns:
      the ImageClassificationMultilabel 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 ImageClassificationMultilabel 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 ImageClassificationMultilabel object itself.
    • withLogVerbosity

      public ImageClassificationMultilabel withLogVerbosity(LogVerbosity logVerbosity)
      Set the logVerbosity property: Log verbosity for the job.
      Overrides:
      withLogVerbosity in class AutoMLVertical
      Parameters:
      logVerbosity - the logVerbosity value to set.
      Returns:
      the AutoMLVertical object itself.
    • withTrainingData

      public ImageClassificationMultilabel withTrainingData(MLTableJobInput trainingData)
      Set the trainingData property: [Required] Training data input.
      Overrides:
      withTrainingData in class AutoMLVertical
      Parameters:
      trainingData - the trainingData value to set.
      Returns:
      the AutoMLVertical object itself.
    • withTargetColumnName

      public ImageClassificationMultilabel withTargetColumnName(String targetColumnName)
      Set the targetColumnName property: Target column name: This is prediction values column. Also known as label column name in context of classification tasks.
      Overrides:
      withTargetColumnName in class AutoMLVertical
      Parameters:
      targetColumnName - the targetColumnName value to set.
      Returns:
      the AutoMLVertical object itself.
    • validate

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

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