Package org.apache.spark.ml.param
Class StringArrayParam
- All Implemented Interfaces:
Serializable
Specialized version of
Param[Array[String} for Java.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]jsonDecode(String json) Decodes a param value from JSON.jsonEncode(String[] value) Encodes a param value into JSON, which can be decoded by `jsonDecode()`.Creates a param pair with a `java.util.List` of values (for Java and Python).
-
Constructor Details
-
StringArrayParam
-
StringArrayParam
-
-
Method Details
-
jsonDecode
Description copied from class:ParamDecodes a param value from JSON.- Overrides:
jsonDecodein classParam<String[]>
-
jsonEncode
Description copied from class:ParamEncodes a param value into JSON, which can be decoded by `jsonDecode()`.- Overrides:
jsonEncodein classParam<String[]>
-
w
Creates a param pair with a `java.util.List` of values (for Java and Python).
-