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 Details

    • FeatureImportanceSettings

      public FeatureImportanceSettings()
      Creates an instance of FeatureImportanceSettings class.
  • Method Details

    • mode

      public FeatureImportanceMode 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

      public String targetColumn()
      Get the targetColumn property: The name of the target column within the input data asset.
      Returns:
      the targetColumn value.
    • withTargetColumn

      public FeatureImportanceSettings withTargetColumn(String targetColumn)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.