public class DoubleArrayArrayParam extends Param<double[][]>
Param[Array[Array[Double}]
for Java.Constructor and Description |
---|
DoubleArrayArrayParam(Params parent,
String name,
String doc) |
DoubleArrayArrayParam(Params parent,
String name,
String doc,
scala.Function1<double[][],Object> isValid) |
Modifier and Type | Method and Description |
---|---|
double[][] |
jsonDecode(String json)
Decodes a param value from JSON.
|
String |
jsonEncode(double[][] value)
Encodes a param value into JSON, which can be decoded by `jsonDecode()`.
|
ParamPair<double[][]> |
w(java.util.List<java.util.List<Double>> value)
Creates a param pair with a `java.util.List` of values (for Java and Python).
|
public DoubleArrayArrayParam(Params parent, String name, String doc, scala.Function1<double[][],Object> isValid)
public DoubleArrayArrayParam(Params parent, String name, String doc)
public ParamPair<double[][]> w(java.util.List<java.util.List<Double>> value)
public String jsonEncode(double[][] value)
Param
jsonEncode
in class Param<double[][]>
public double[][] jsonDecode(String json)
Param
jsonDecode
in class Param<double[][]>