Class ImageObjectDetection
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.AutoMLVertical
-
- com.azure.resourcemanager.machinelearning.models.ImageObjectDetection
-
public final class ImageObjectDetection extends AutoMLVertical
Image Object Detection. Object detection is used to identify objects in an image and locate each object with a bounding box e.g. locate all dogs and cats in an image and draw a bounding box around each.
-
-
Constructor Summary
Constructors Constructor Description ImageObjectDetection()
-
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.ImageModelSettingsObjectDetection
modelSettings()
Get the modelSettings property: Settings used for training the model.ObjectDetectionPrimaryMetrics
primaryMetric()
Get the primaryMetric property: Primary metric to optimize for this task.List<ImageModelDistributionSettingsObjectDetection>
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.ImageObjectDetection
withDataSettings(ImageVerticalDataSettings dataSettings)
Set the dataSettings property: [Required] Collection of registered Tabular Dataset Ids and other data settings required for training and validating models.ImageObjectDetection
withLimitSettings(ImageLimitSettings limitSettings)
Set the limitSettings property: [Required] Limit settings for the AutoML job.ImageObjectDetection
withLogVerbosity(LogVerbosity logVerbosity)
Set the logVerbosity property: Log verbosity for the job.ImageObjectDetection
withModelSettings(ImageModelSettingsObjectDetection modelSettings)
Set the modelSettings property: Settings used for training the model.ImageObjectDetection
withPrimaryMetric(ObjectDetectionPrimaryMetrics primaryMetric)
Set the primaryMetric property: Primary metric to optimize for this task.ImageObjectDetection
withSearchSpace(List<ImageModelDistributionSettingsObjectDetection> searchSpace)
Set the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.ImageObjectDetection
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 ObjectDetectionPrimaryMetrics primaryMetric()
Get the primaryMetric property: Primary metric to optimize for this task.- Returns:
- the primaryMetric value.
-
withPrimaryMetric
public ImageObjectDetection withPrimaryMetric(ObjectDetectionPrimaryMetrics primaryMetric)
Set the primaryMetric property: Primary metric to optimize for this task.- Parameters:
primaryMetric
- the primaryMetric value to set.- Returns:
- the ImageObjectDetection object itself.
-
modelSettings
public ImageModelSettingsObjectDetection modelSettings()
Get the modelSettings property: Settings used for training the model.- Returns:
- the modelSettings value.
-
withModelSettings
public ImageObjectDetection withModelSettings(ImageModelSettingsObjectDetection modelSettings)
Set the modelSettings property: Settings used for training the model.- Parameters:
modelSettings
- the modelSettings value to set.- Returns:
- the ImageObjectDetection object itself.
-
searchSpace
public List<ImageModelDistributionSettingsObjectDetection> searchSpace()
Get the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.- Returns:
- the searchSpace value.
-
withSearchSpace
public ImageObjectDetection withSearchSpace(List<ImageModelDistributionSettingsObjectDetection> 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 ImageObjectDetection 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 ImageObjectDetection 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 ImageObjectDetection object itself.
-
limitSettings
public ImageLimitSettings limitSettings()
Get the limitSettings property: [Required] Limit settings for the AutoML job.- Returns:
- the limitSettings value.
-
withLimitSettings
public ImageObjectDetection withLimitSettings(ImageLimitSettings limitSettings)
Set the limitSettings property: [Required] Limit settings for the AutoML job.- Parameters:
limitSettings
- the limitSettings value to set.- Returns:
- the ImageObjectDetection object itself.
-
sweepSettings
public ImageSweepSettings sweepSettings()
Get the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.- Returns:
- the sweepSettings value.
-
withSweepSettings
public ImageObjectDetection withSweepSettings(ImageSweepSettings sweepSettings)
Set the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.- Parameters:
sweepSettings
- the sweepSettings value to set.- Returns:
- the ImageObjectDetection object itself.
-
withLogVerbosity
public ImageObjectDetection 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.
-
-