Class ImageClassification
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.AutoMLVertical
-
- com.azure.resourcemanager.machinelearning.models.ImageClassification
-
public final class ImageClassification extends AutoMLVertical
Image Classification. Multi-class image classification is used when an image is classified with only a single label from a set of classes - e.g. each image is classified as either an image of a 'cat' or a 'dog' or a 'duck'.
-
-
Constructor Summary
Constructors Constructor Description ImageClassification()
-
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.ClassificationPrimaryMetrics
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.ImageClassification
withDataSettings(ImageVerticalDataSettings dataSettings)
Set the dataSettings property: [Required] Collection of registered Tabular Dataset Ids and other data settings required for training and validating models.ImageClassification
withLimitSettings(ImageLimitSettings limitSettings)
Set the limitSettings property: [Required] Limit settings for the AutoML job.ImageClassification
withLogVerbosity(LogVerbosity logVerbosity)
Set the logVerbosity property: Log verbosity for the job.ImageClassification
withModelSettings(ImageModelSettingsClassification modelSettings)
Set the modelSettings property: Settings used for training the model.ImageClassification
withPrimaryMetric(ClassificationPrimaryMetrics primaryMetric)
Set the primaryMetric property: Primary metric to optimize for this task.ImageClassification
withSearchSpace(List<ImageModelDistributionSettingsClassification> searchSpace)
Set the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.ImageClassification
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 ClassificationPrimaryMetrics primaryMetric()
Get the primaryMetric property: Primary metric to optimize for this task.- Returns:
- the primaryMetric value.
-
withPrimaryMetric
public ImageClassification withPrimaryMetric(ClassificationPrimaryMetrics primaryMetric)
Set the primaryMetric property: Primary metric to optimize for this task.- Parameters:
primaryMetric
- the primaryMetric value to set.- Returns:
- the ImageClassification object itself.
-
modelSettings
public ImageModelSettingsClassification modelSettings()
Get the modelSettings property: Settings used for training the model.- Returns:
- the modelSettings value.
-
withModelSettings
public ImageClassification withModelSettings(ImageModelSettingsClassification modelSettings)
Set the modelSettings property: Settings used for training the model.- Parameters:
modelSettings
- the modelSettings value to set.- Returns:
- the ImageClassification 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 ImageClassification 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 ImageClassification 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 ImageClassification 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 ImageClassification object itself.
-
limitSettings
public ImageLimitSettings limitSettings()
Get the limitSettings property: [Required] Limit settings for the AutoML job.- Returns:
- the limitSettings value.
-
withLimitSettings
public ImageClassification withLimitSettings(ImageLimitSettings limitSettings)
Set the limitSettings property: [Required] Limit settings for the AutoML job.- Parameters:
limitSettings
- the limitSettings value to set.- Returns:
- the ImageClassification object itself.
-
sweepSettings
public ImageSweepSettings sweepSettings()
Get the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.- Returns:
- the sweepSettings value.
-
withSweepSettings
public ImageClassification withSweepSettings(ImageSweepSettings sweepSettings)
Set the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.- Parameters:
sweepSettings
- the sweepSettings value to set.- Returns:
- the ImageClassification object itself.
-
withLogVerbosity
public ImageClassification 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.
-
-