Class StringArrayParam

Object
org.apache.spark.ml.param.Param<String[]>
org.apache.spark.ml.param.StringArrayParam
All Implemented Interfaces:
Serializable, scala.Serializable

public class StringArrayParam extends Param<String[]>
Specialized version of Param[Array[String} for Java.
See Also:
  • Constructor Details

  • Method Details

    • jsonDecode

      public String[] jsonDecode(String json)
      Description copied from class: Param
      Decodes a param value from JSON.
      Overrides:
      jsonDecode in class Param<String[]>
    • jsonEncode

      public String jsonEncode(String[] value)
      Description copied from class: Param
      Encodes a param value into JSON, which can be decoded by `jsonDecode()`.
      Overrides:
      jsonEncode in class Param<String[]>
    • w

      public ParamPair<String[]> w(List<String> value)
      Creates a param pair with a `java.util.List` of values (for Java and Python).