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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AutoMLVerticalfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AutoMLVertical from the JsonReader.Get the logVerbosity property: Log verbosity for the job.Get the targetColumnName property: Target column name: This is prediction values column.taskType()Get the taskType property: [Required] Task type for AutoMLJob.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the trainingData property: [Required] Training data input.voidvalidate()Validates the instance.withLogVerbosity(LogVerbosity logVerbosity) Set the logVerbosity property: Log verbosity for the job.withTargetColumnName(String targetColumnName) Set the targetColumnName property: Target column name: This is prediction values column.withTrainingData(MLTableJobInput trainingData) Set the trainingData property: [Required] Training data input.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AutoMLVertical
public AutoMLVertical()Creates an instance of AutoMLVertical class.
-
-
Method Details
-
taskType
Get the taskType property: [Required] Task type for AutoMLJob.- Returns:
- the taskType value.
-
logVerbosity
Get the logVerbosity property: Log verbosity for the job.- Returns:
- the logVerbosity value.
-
withLogVerbosity
Set the logVerbosity property: Log verbosity for the job.- Parameters:
logVerbosity- the logVerbosity value to set.- Returns:
- the AutoMLVertical object itself.
-
trainingData
Get the trainingData property: [Required] Training data input.- Returns:
- the trainingData value.
-
withTrainingData
Set the trainingData property: [Required] Training data input.- Parameters:
trainingData- the trainingData value to set.- Returns:
- the AutoMLVertical object itself.
-
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
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AutoMLVertical>- Throws:
IOException
-
fromJson
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.
-