Class AutoMLVertical

java.lang.Object
com.azure.resourcemanager.machinelearning.models.AutoMLVertical
All Implemented Interfaces:
com.azure.json.JsonSerializable<AutoMLVertical>
Direct Known Subclasses:
Classification, Forecasting, ImageClassification, ImageClassificationMultilabel, ImageInstanceSegmentation, ImageObjectDetection, Regression, TextClassification, TextClassificationMultilabel, TextNer

public class AutoMLVertical extends Object implements com.azure.json.JsonSerializable<AutoMLVertical>
AutoML vertical class. Base class for AutoML verticals - TableVertical/ImageVertical/NLPVertical.
  • Constructor Details

    • AutoMLVertical

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

    • taskType

      public TaskType taskType()
      Get the taskType property: [Required] Task type for AutoMLJob.
      Returns:
      the taskType value.
    • logVerbosity

      public LogVerbosity logVerbosity()
      Get the logVerbosity property: Log verbosity for the job.
      Returns:
      the logVerbosity value.
    • withLogVerbosity

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

      public MLTableJobInput trainingData()
      Get the trainingData property: [Required] Training data input.
      Returns:
      the trainingData value.
    • withTrainingData

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

      public String targetColumnName()
      Get the targetColumnName property: Target column name: This is prediction values column. Also known as label column name in context of classification tasks.
      Returns:
      the targetColumnName value.
    • withTargetColumnName

      public AutoMLVertical 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.
      Parameters:
      targetColumnName - the targetColumnName value to set.
      Returns:
      the AutoMLVertical 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<AutoMLVertical>
      Throws:
      IOException
    • fromJson

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