Packages

c

org.apache.spark.ml.param

DoubleArrayParam

class DoubleArrayParam extends Param[Array[Double]]

Specialized version of Param[Array[Double]] for Java.

Source
params.scala
Linear Supertypes
Param[Array[Double]], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DoubleArrayParam
  2. Param
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DoubleArrayParam(parent: Params, name: String, doc: String)
  2. new DoubleArrayParam(parent: Params, name: String, doc: String, isValid: (Array[Double]) => Boolean)

Value Members

  1. def ->(value: Array[Double]): ParamPair[Array[Double]]

    Creates a param pair with the given value (for Scala).

    Creates a param pair with the given value (for Scala).

    Definition Classes
    Param
  2. val doc: String
    Definition Classes
    Param
  3. final def equals(obj: Any): Boolean
    Definition Classes
    Param → AnyRef → Any
  4. final def hashCode(): Int
    Definition Classes
    Param → AnyRef → Any
  5. val isValid: (Array[Double]) => Boolean
    Definition Classes
    Param
  6. def jsonDecode(json: String): Array[Double]

    Decodes a param value from JSON.

    Decodes a param value from JSON.

    Definition Classes
    DoubleArrayParamParam
  7. def jsonEncode(value: Array[Double]): String

    Encodes a param value into JSON, which can be decoded by jsonDecode().

    Encodes a param value into JSON, which can be decoded by jsonDecode().

    Definition Classes
    DoubleArrayParamParam
  8. val name: String
    Definition Classes
    Param
  9. val parent: String
    Definition Classes
    Param
  10. final def toString(): String
    Definition Classes
    Param → AnyRef → Any
  11. def w(value: List[Double]): ParamPair[Array[Double]]

    Creates a param pair with a java.util.List of values (for Java and Python).

  12. def w(value: Array[Double]): ParamPair[Array[Double]]

    Creates a param pair with the given value (for Java).

    Creates a param pair with the given value (for Java).

    Definition Classes
    Param