Class FeaturizationSettings
java.lang.Object
com.azure.resourcemanager.machinelearning.models.FeaturizationSettings
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FeaturizationSettings>
- Direct Known Subclasses:
NlpVerticalFeaturizationSettings,TableVerticalFeaturizationSettings
public class FeaturizationSettings
extends Object
implements com.azure.json.JsonSerializable<FeaturizationSettings>
Featurization Configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the datasetLanguage property: Dataset language, useful for the text data.static FeaturizationSettingsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FeaturizationSettings from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDatasetLanguage(String datasetLanguage) Set the datasetLanguage property: Dataset language, useful for the text data.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
-
FeaturizationSettings
public FeaturizationSettings()Creates an instance of FeaturizationSettings class.
-
-
Method Details
-
datasetLanguage
Get the datasetLanguage property: Dataset language, useful for the text data.- Returns:
- the datasetLanguage value.
-
withDatasetLanguage
Set the datasetLanguage property: Dataset language, useful for the text data.- Parameters:
datasetLanguage- the datasetLanguage value to set.- Returns:
- the FeaturizationSettings 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<FeaturizationSettings>- Throws:
IOException
-
fromJson
public static FeaturizationSettings fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FeaturizationSettings from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FeaturizationSettings 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 FeaturizationSettings.
-