Class ImageVertical
java.lang.Object
com.azure.resourcemanager.machinelearning.models.ImageVertical
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ImageVertical>
- Direct Known Subclasses:
ImageClassificationBase,ImageObjectDetectionBase
Abstract class for AutoML tasks that train image (computer vision) models -
such as Image Classification / Image Classification Multilabel / Image Object Detection / Image Instance
Segmentation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageVerticalfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ImageVertical from the JsonReader.Get the limitSettings property: [Required] Limit settings for the AutoML job.Get the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.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.withLimitSettings(ImageLimitSettings limitSettings) Set the limitSettings property: [Required] Limit settings for the AutoML job.withSweepSettings(ImageSweepSettings sweepSettings) Set the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.withValidationData(MLTableJobInput validationData) Set the validationData property: Validation data inputs.withValidationDataSize(Double validationDataSize) 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, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ImageVertical
public ImageVertical()Creates an instance of ImageVertical class.
-
-
Method Details
-
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 ImageVertical 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 ImageVertical object itself.
-
validationData
Get the validationData property: Validation data inputs.- Returns:
- the validationData value.
-
withValidationData
Set the validationData property: Validation data inputs.- Parameters:
validationData- the validationData value to set.- Returns:
- the ImageVertical object itself.
-
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 ImageVertical object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ImageVertical>- Throws:
IOException
-
fromJson
Reads an instance of ImageVertical from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ImageVertical 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 ImageVertical.
-