Class ImageClassificationBase
java.lang.Object
com.azure.resourcemanager.machinelearning.models.ImageVertical
com.azure.resourcemanager.machinelearning.models.ImageClassificationBase
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ImageVertical>
The ImageClassificationBase model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ImageClassificationBase class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageClassificationBasefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ImageClassificationBase from the JsonReader.Get the modelSettings property: Settings used for training the model.Get the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withLimitSettings(ImageLimitSettings limitSettings) Set the limitSettings property: [Required] Limit settings for the AutoML job.withModelSettings(ImageModelSettingsClassification modelSettings) Set the modelSettings property: Settings used for training the model.withSearchSpace(List<ImageModelDistributionSettingsClassification> searchSpace) Set the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.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 com.azure.resourcemanager.machinelearning.models.ImageVertical
limitSettings, sweepSettings, validationData, validationDataSizeMethods 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
-
ImageClassificationBase
public ImageClassificationBase()Creates an instance of ImageClassificationBase class.
-
-
Method Details
-
modelSettings
Get the modelSettings property: Settings used for training the model.- Returns:
- the modelSettings value.
-
withModelSettings
Set the modelSettings property: Settings used for training the model.- Parameters:
modelSettings- the modelSettings value to set.- Returns:
- the ImageClassificationBase object itself.
-
searchSpace
Get the searchSpace property: Search space for sampling different combinations of models and their hyperparameters.- Returns:
- the searchSpace value.
-
withSearchSpace
public ImageClassificationBase 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 ImageClassificationBase object itself.
-
withLimitSettings
Set the limitSettings property: [Required] Limit settings for the AutoML job.- Overrides:
withLimitSettingsin classImageVertical- Parameters:
limitSettings- the limitSettings value to set.- Returns:
- the ImageVertical object itself.
-
withSweepSettings
Set the sweepSettings property: Model sweeping and hyperparameter sweeping related settings.- Overrides:
withSweepSettingsin classImageVertical- Parameters:
sweepSettings- the sweepSettings value to set.- Returns:
- the ImageVertical object itself.
-
withValidationData
Set the validationData property: Validation data inputs.- Overrides:
withValidationDatain classImageVertical- Parameters:
validationData- the validationData value to set.- Returns:
- the ImageVertical object itself.
-
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.- Overrides:
withValidationDataSizein classImageVertical- Parameters:
validationDataSize- the validationDataSize value to set.- Returns:
- the ImageVertical object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classImageVertical- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ImageVertical>- Overrides:
toJsonin classImageVertical- Throws:
IOException
-
fromJson
public static ImageClassificationBase fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ImageClassificationBase from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ImageClassificationBase 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 ImageClassificationBase.
-