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 Summary
Constructors
Creates an instance of ImageClassificationMultilabel class.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
fromJson (com.azure.json.JsonReader jsonReader)
Reads an instance of ImageClassificationMultilabel from the JsonReader.
Get the limitSettings property: [Required] Limit settings for the AutoML job.
Get the modelSettings property: Settings used for training the model.
Get the primaryMetric property: Primary metric to optimize for this task.
Get the searchSpace property: Search space for sampling different combinations of models and their
hyperparameters.
Get the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.
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.
Get the validationDataSize property: The fraction of training dataset that needs to be set aside for validation
purpose.
Set the limitSettings property: [Required] Limit settings for the AutoML job.
Set the logVerbosity property: Log verbosity for the job.
Set the modelSettings property: Settings used for training the model.
Set the primaryMetric property: Primary metric to optimize for this task.
Set the searchSpace property: Search space for sampling different combinations of models and their
hyperparameters.
Set the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.
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.
Set the validationDataSize property: The fraction of training dataset that needs to be set aside for validation
purpose.
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
ImageClassificationMultilabel
public ImageClassificationMultilabel ()
Creates an instance of ImageClassificationMultilabel 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 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
Get the modelSettings property: Settings used for training the model.
Returns:
the modelSettings value.
withModelSettings
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
Get the limitSettings property: [Required] Limit settings for the AutoML job.
Returns:
the limitSettings value.
withLimitSettings
Set the limitSettings property: [Required] Limit settings for the AutoML job.
Parameters:
limitSettings - the limitSettings value to set.
Returns:
the ImageClassificationMultilabel object itself.
sweepSettings
Get the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.
Returns:
the sweepSettings value.
withSweepSettings
Set the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.
Parameters:
sweepSettings - the sweepSettings value to set.
Returns:
the ImageClassificationMultilabel object itself.
validationData
Get the validationData property: Validation data inputs.
Returns:
the validationData value.
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
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
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 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.