All Implemented Interfaces:
com.azure.json.JsonSerializable<AutoMLVertical >
public final class TextClassificationMultilabel
extends AutoMLVertical
Text Classification Multilabel task in AutoML NLP vertical.
NLP - Natural Language Processing.
Constructor Summary
Constructors
Creates an instance of TextClassificationMultilabel class.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Get the featurizationSettings property: Featurization inputs needed for AutoML job.
fromJson (com.azure.json.JsonReader jsonReader)
Reads an instance of TextClassificationMultilabel from the JsonReader.
Get the limitSettings property: Execution constraints for AutoMLJob.
Get the primaryMetric property: Primary metric for Text-Classification-Multilabel task.
Get the taskType property: [Required] Task type for AutoMLJob.
com.azure.json.JsonWriter
toJson (com.azure.json.JsonWriter jsonWriter)
void
Get the validationData property: Validation data inputs.
Set the featurizationSettings property: Featurization inputs needed for AutoML job.
Set the limitSettings property: Execution constraints for AutoMLJob.
Set the logVerbosity property: Log verbosity for the job.
Set the targetColumnName property: Target column name: This is prediction values column.
Set the trainingData property: [Required] Training data input.
Set the validationData property: Validation data inputs.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
Constructor Details
TextClassificationMultilabel
public TextClassificationMultilabel ()
Creates an instance of TextClassificationMultilabel class.
Method Details
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 for Text-Classification-Multilabel task.
Currently only Accuracy is supported as primary metric, hence user need not set it explicitly.
Returns:
the primaryMetric value.
limitSettings
Get the limitSettings property: Execution constraints for AutoMLJob.
Returns:
the limitSettings value.
withLimitSettings
Set the limitSettings property: Execution constraints for AutoMLJob.
Parameters:
limitSettings - the limitSettings value to set.
Returns:
the TextClassificationMultilabel object itself.
featurizationSettings
Get the featurizationSettings property: Featurization inputs needed for AutoML job.
Returns:
the featurizationSettings value.
withFeaturizationSettings
Set the featurizationSettings property: Featurization inputs needed for AutoML job.
Parameters:
featurizationSettings - the featurizationSettings value to set.
Returns:
the TextClassificationMultilabel object itself.
validationData
Get the validationData property: Validation data inputs.
Returns:
the validationData value.
withLogVerbosity
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.
withTargetColumnName
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.
fromJson
Reads an instance of TextClassificationMultilabel from the JsonReader.
Parameters:
jsonReader - The JsonReader being read.
Returns:
An instance of TextClassificationMultilabel 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 TextClassificationMultilabel.