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