ImageObjectDetection Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. AutoMLVertical - com.
azure. resourcemanager. machinelearning. models. ImageObjectDetection
- com.
- com.
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
| Constructor | Description |
|---|---|
| ImageObjectDetection() |
Creates an instance of Image |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Image |
fromJson(JsonReader jsonReader)
Reads an instance of Image |
|
Image |
limitSettings()
Get the limit |
|
Image |
modelSettings()
Get the model |
|
Object |
primaryMetric()
Get the primary |
|
List<Image |
searchSpace()
Get the search |
|
Image |
sweepSettings()
Get the sweep |
|
Task |
taskType()
Get the task |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
MLTable |
validationData()
Get the validation |
| Double |
validationDataSize()
Get the validation |
|
Image |
withLimitSettings(ImageLimitSettings limitSettings)
Set the limit |
|
Image |
withLogVerbosity(LogVerbosity logVerbosity)
Set the log |
|
Image |
withModelSettings(ImageModelSettingsObjectDetection modelSettings)
Set the model |
|
Image |
withPrimaryMetric(ObjectDetectionPrimaryMetrics primaryMetric)
Set the primary |
|
Image |
withSearchSpace(List<ImageModelDistributionSettingsObjectDetection> searchSpace)
Set the search |
|
Image |
withSweepSettings(ImageSweepSettings sweepSettings)
Set the sweep |
|
Image |
withTargetColumnName(String targetColumnName)
Set the target |
|
Image |
withTrainingData(MLTableJobInput trainingData)
Set the training |
|
Image |
withValidationData(MLTableJobInput validationData)
Set the validation |
|
Image |
withValidationDataSize(Double validationDataSize)
Set the validation |
Methods inherited from AutoMLVertical
Methods inherited from java.lang.Object
Constructor Details
ImageObjectDetection
public ImageObjectDetection()
Creates an instance of ImageObjectDetection class.
Method Details
fromJson
public static ImageObjectDetection fromJson(JsonReader jsonReader)
Reads an instance of ImageObjectDetection from the JsonReader.
Parameters:
Returns:
Throws:
limitSettings
public ImageLimitSettings limitSettings()
Get the limitSettings property: [Required] Limit settings for the AutoML job.
Returns:
modelSettings
public ImageModelSettingsObjectDetection modelSettings()
Get the modelSettings property: Settings used for training the model.
Returns:
primaryMetric
public ObjectDetectionPrimaryMetrics primaryMetric()
Get the primaryMetric property: Primary metric to optimize for this task.
Returns:
searchSpace
public List<ImageModelDistributionSettingsObjectDetection> searchSpace()
Get the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.
Returns:
sweepSettings
public ImageSweepSettings sweepSettings()
Get the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.
Returns:
taskType
public TaskType taskType()
Get the taskType property: [Required] Task type for AutoMLJob.
Overrides:
ImageObjectDetection.taskType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ImageObjectDetection.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ImageObjectDetection.validate()validationData
public MLTableJobInput validationData()
Get the validationData property: Validation data inputs.
Returns:
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:
withLimitSettings
public ImageObjectDetection withLimitSettings(ImageLimitSettings limitSettings)
Set the limitSettings property: [Required] Limit settings for the AutoML job.
Parameters:
Returns:
withLogVerbosity
public ImageObjectDetection withLogVerbosity(LogVerbosity logVerbosity)
Set the logVerbosity property: Log verbosity for the job.
Overrides:
ImageObjectDetection.withLogVerbosity(LogVerbosity logVerbosity)Parameters:
withModelSettings
public ImageObjectDetection withModelSettings(ImageModelSettingsObjectDetection modelSettings)
Set the modelSettings property: Settings used for training the model.
Parameters:
Returns:
withPrimaryMetric
public ImageObjectDetection withPrimaryMetric(ObjectDetectionPrimaryMetrics primaryMetric)
Set the primaryMetric property: Primary metric to optimize for this task.
Parameters:
Returns:
withSearchSpace
public ImageObjectDetection withSearchSpace(List<ImageModelDistributionSettingsObjectDetection> searchSpace)
Set the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.
Parameters:
Returns:
withSweepSettings
public ImageObjectDetection withSweepSettings(ImageSweepSettings sweepSettings)
Set the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.
Parameters:
Returns:
withTargetColumnName
public ImageObjectDetection withTargetColumnName(String targetColumnName)
Set the targetColumnName property: Target column name: This is prediction values column. Also known as label column name in context of classification tasks.
Overrides:
ImageObjectDetection.withTargetColumnName(String targetColumnName)Parameters:
withTrainingData
public ImageObjectDetection withTrainingData(MLTableJobInput trainingData)
Set the trainingData property: [Required] Training data input.
Overrides:
ImageObjectDetection.withTrainingData(MLTableJobInput trainingData)Parameters:
withValidationData
public ImageObjectDetection withValidationData(MLTableJobInput validationData)
Set the validationData property: Validation data inputs.
Parameters:
Returns:
withValidationDataSize
public ImageObjectDetection withValidationDataSize(Double validationDataSize)
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:
Returns: