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>
Featurization Configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TableVerticalFeaturizationSettings class. -
Method Summary
Modifier and TypeMethodDescriptionGet the blockedTransformers property: These transformers shall not be used in featurization.Get the columnNameAndTypes property: Dictionary of column name and its type (int, float, string, datetime etc).Get the enableDnnFeaturization property: Determines whether to use Dnn based featurizers for data featurization.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TableVerticalFeaturizationSettings from the JsonReader.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.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) 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.voidvalidate()Validates the instance.withBlockedTransformers(List<BlockedTransformers> blockedTransformers) Set the blockedTransformers property: These transformers shall not be used in featurization.withColumnNameAndTypes(Map<String, String> columnNameAndTypes) Set the columnNameAndTypes property: Dictionary of column name and its type (int, float, string, datetime etc).withDatasetLanguage(String datasetLanguage) Set the datasetLanguage property: Dataset language, useful for the text data.withEnableDnnFeaturization(Boolean enableDnnFeaturization) Set the enableDnnFeaturization property: Determines whether to use Dnn based featurizers for data featurization.withMode(FeaturizationMode mode) 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.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.Methods inherited from class com.azure.resourcemanager.machinelearning.models.FeaturizationSettings
datasetLanguageMethods 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
-
TableVerticalFeaturizationSettings
public TableVerticalFeaturizationSettings()Creates an instance of TableVerticalFeaturizationSettings class.
-
-
Method Details
-
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
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
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
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
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
Set the datasetLanguage property: Dataset language, useful for the text data.- Overrides:
withDatasetLanguagein classFeaturizationSettings- Parameters:
datasetLanguage- the datasetLanguage value to set.- Returns:
- the FeaturizationSettings object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classFeaturizationSettings- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<FeaturizationSettings>- Overrides:
toJsonin classFeaturizationSettings- 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.
-