Class ImageClassificationMultilabel
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.AutoMLVertical
-
- com.azure.resourcemanager.machinelearning.models.ImageClassificationMultilabel
-
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 Constructor Description ImageClassificationMultilabel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageVerticalDataSettings
dataSettings()
Get the dataSettings property: [Required] Collection of registered Tabular Dataset Ids and other data settings required for training and validating models.ImageLimitSettings
limitSettings()
Get the limitSettings property: [Required] Limit settings for the AutoML job.ImageModelSettingsClassification
modelSettings()
Get the modelSettings property: Settings used for training the model.ClassificationMultilabelPrimaryMetrics
primaryMetric()
Get the primaryMetric property: Primary metric to optimize for this task.List<ImageModelDistributionSettingsClassification>
searchSpace()
Get the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.ImageSweepSettings
sweepSettings()
Get the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.void
validate()
Validates the instance.ImageClassificationMultilabel
withDataSettings(ImageVerticalDataSettings dataSettings)
Set the dataSettings property: [Required] Collection of registered Tabular Dataset Ids and other data settings required for training and validating models.ImageClassificationMultilabel
withLimitSettings(ImageLimitSettings limitSettings)
Set the limitSettings property: [Required] Limit settings for the AutoML job.ImageClassificationMultilabel
withLogVerbosity(LogVerbosity logVerbosity)
Set the logVerbosity property: Log verbosity for the job.ImageClassificationMultilabel
withModelSettings(ImageModelSettingsClassification modelSettings)
Set the modelSettings property: Settings used for training the model.ImageClassificationMultilabel
withPrimaryMetric(ClassificationMultilabelPrimaryMetrics primaryMetric)
Set the primaryMetric property: Primary metric to optimize for this task.ImageClassificationMultilabel
withSearchSpace(List<ImageModelDistributionSettingsClassification> searchSpace)
Set the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.ImageClassificationMultilabel
withSweepSettings(ImageSweepSettings sweepSettings)
Set the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.AutoMLVertical
logVerbosity
-
-
-
-
Method Detail
-
primaryMetric
public ClassificationMultilabelPrimaryMetrics primaryMetric()
Get the primaryMetric property: Primary metric to optimize for this task.- Returns:
- the primaryMetric value.
-
withPrimaryMetric
public ImageClassificationMultilabel withPrimaryMetric(ClassificationMultilabelPrimaryMetrics primaryMetric)
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
public List<ImageModelDistributionSettingsClassification> searchSpace()
Get the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.- Returns:
- the searchSpace value.
-
withSearchSpace
public ImageClassificationMultilabel withSearchSpace(List<ImageModelDistributionSettingsClassification> searchSpace)
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.
-
dataSettings
public ImageVerticalDataSettings dataSettings()
Get the dataSettings property: [Required] Collection of registered Tabular Dataset Ids and other data settings required for training and validating models.- Returns:
- the dataSettings value.
-
withDataSettings
public ImageClassificationMultilabel withDataSettings(ImageVerticalDataSettings dataSettings)
Set the dataSettings property: [Required] Collection of registered Tabular Dataset Ids and other data settings required for training and validating models.- Parameters:
dataSettings
- the dataSettings 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.
-
withLogVerbosity
public ImageClassificationMultilabel withLogVerbosity(LogVerbosity logVerbosity)
Set the logVerbosity property: Log verbosity for the job.- Overrides:
withLogVerbosity
in classAutoMLVertical
- Parameters:
logVerbosity
- the logVerbosity value to set.- Returns:
- the AutoMLVertical object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAutoMLVertical
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-