Class DoubleArrayArrayParam

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

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

    • DoubleArrayArrayParam

      public DoubleArrayArrayParam(Params parent, String name, String doc, scala.Function1<double[][],Object> isValid)
    • DoubleArrayArrayParam

      public DoubleArrayArrayParam(Params parent, String name, String doc)
  • Method Details

    • jsonDecode

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

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

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