Class TableVerticalFeaturizationSettings

java.lang.Object
com.azure.resourcemanager.machinelearning.models.FeaturizationSettings
com.azure.resourcemanager.machinelearning.models.TableVerticalFeaturizationSettings
All Implemented Interfaces:
com.azure.json.JsonSerializable<FeaturizationSettings>

public final class TableVerticalFeaturizationSettings extends FeaturizationSettings
Featurization Configuration.
  • Constructor Details

    • TableVerticalFeaturizationSettings

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

    • mode

      public FeaturizationMode mode()
      Get the mode property: Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase. If 'Off' is selected then no featurization is done. If 'Custom' is selected then user can specify additional inputs to customize how featurization is done.
      Returns:
      the mode value.
    • withMode

      Set the mode property: Featurization mode - User can keep the default 'Auto' mode and AutoML will take care of necessary transformation of the data in featurization phase. If 'Off' is selected then no featurization is done. If 'Custom' is selected then user can specify additional inputs to customize how featurization is done.
      Parameters:
      mode - the mode value to set.
      Returns:
      the TableVerticalFeaturizationSettings object itself.
    • blockedTransformers

      public List<BlockedTransformers> blockedTransformers()
      Get the blockedTransformers property: These transformers shall not be used in featurization.
      Returns:
      the blockedTransformers value.
    • withBlockedTransformers

      public TableVerticalFeaturizationSettings withBlockedTransformers(List<BlockedTransformers> blockedTransformers)
      Set the blockedTransformers property: These transformers shall not be used in featurization.
      Parameters:
      blockedTransformers - the blockedTransformers value to set.
      Returns:
      the TableVerticalFeaturizationSettings object itself.
    • columnNameAndTypes

      public Map<String,String> columnNameAndTypes()
      Get the columnNameAndTypes property: Dictionary of column name and its type (int, float, string, datetime etc).
      Returns:
      the columnNameAndTypes value.
    • withColumnNameAndTypes

      public TableVerticalFeaturizationSettings withColumnNameAndTypes(Map<String,String> columnNameAndTypes)
      Set the columnNameAndTypes property: Dictionary of column name and its type (int, float, string, datetime etc).
      Parameters:
      columnNameAndTypes - the columnNameAndTypes value to set.
      Returns:
      the TableVerticalFeaturizationSettings object itself.
    • transformerParams

      public Map<String,List<ColumnTransformer>> transformerParams()
      Get the transformerParams property: User can specify additional transformers to be used along with the columns to which it would be applied and parameters for the transformer constructor.
      Returns:
      the transformerParams value.
    • withTransformerParams

      public TableVerticalFeaturizationSettings withTransformerParams(Map<String,List<ColumnTransformer>> transformerParams)
      Set the transformerParams property: User can specify additional transformers to be used along with the columns to which it would be applied and parameters for the transformer constructor.
      Parameters:
      transformerParams - the transformerParams value to set.
      Returns:
      the TableVerticalFeaturizationSettings object itself.
    • enableDnnFeaturization

      public Boolean enableDnnFeaturization()
      Get the enableDnnFeaturization property: Determines whether to use Dnn based featurizers for data featurization.
      Returns:
      the enableDnnFeaturization value.
    • withEnableDnnFeaturization

      public TableVerticalFeaturizationSettings withEnableDnnFeaturization(Boolean enableDnnFeaturization)
      Set the enableDnnFeaturization property: Determines whether to use Dnn based featurizers for data featurization.
      Parameters:
      enableDnnFeaturization - the enableDnnFeaturization value to set.
      Returns:
      the TableVerticalFeaturizationSettings object itself.
    • withDatasetLanguage

      public TableVerticalFeaturizationSettings withDatasetLanguage(String datasetLanguage)
      Set the datasetLanguage property: Dataset language, useful for the text data.
      Overrides:
      withDatasetLanguage in class FeaturizationSettings
      Parameters:
      datasetLanguage - the datasetLanguage value to set.
      Returns:
      the FeaturizationSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class FeaturizationSettings
      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<FeaturizationSettings>
      Overrides:
      toJson in class FeaturizationSettings
      Throws:
      IOException
    • fromJson

      public static TableVerticalFeaturizationSettings fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of TableVerticalFeaturizationSettings from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of TableVerticalFeaturizationSettings 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 TableVerticalFeaturizationSettings.