Class FeatureImportanceSettings
java.lang.Object
com.azure.resourcemanager.machinelearning.models.FeatureImportanceSettings
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FeatureImportanceSettings>
public final class FeatureImportanceSettings
extends Object
implements com.azure.json.JsonSerializable<FeatureImportanceSettings>
The FeatureImportanceSettings model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FeatureImportanceSettings class. -
Method Summary
Modifier and TypeMethodDescriptionstatic FeatureImportanceSettingsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FeatureImportanceSettings from the JsonReader.mode()Get the mode property: The mode of operation for computing feature importance.Get the targetColumn property: The name of the target column within the input data asset.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the mode property: The mode of operation for computing feature importance.withTargetColumn(String targetColumn) Set the targetColumn property: The name of the target column within the input data asset.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
-
FeatureImportanceSettings
public FeatureImportanceSettings()Creates an instance of FeatureImportanceSettings class.
-
-
Method Details
-
mode
Get the mode property: The mode of operation for computing feature importance.- Returns:
- the mode value.
-
withMode
Set the mode property: The mode of operation for computing feature importance.- Parameters:
mode- the mode value to set.- Returns:
- the FeatureImportanceSettings object itself.
-
targetColumn
Get the targetColumn property: The name of the target column within the input data asset.- Returns:
- the targetColumn value.
-
withTargetColumn
Set the targetColumn property: The name of the target column within the input data asset.- Parameters:
targetColumn- the targetColumn value to set.- Returns:
- the FeatureImportanceSettings 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<FeatureImportanceSettings>- Throws:
IOException
-
fromJson
public static FeatureImportanceSettings fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FeatureImportanceSettings from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FeatureImportanceSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the FeatureImportanceSettings.
-