class DoubleParam extends Param[Double]
- Alphabetic
- By Inheritance
- DoubleParam
- Param
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DoubleParam(parent: Identifiable, name: String, doc: String)
- new DoubleParam(parent: Identifiable, name: String, doc: String, isValid: (Double) => Boolean)
- new DoubleParam(parent: String, name: String, doc: String)
- new DoubleParam(parent: String, name: String, doc: String, isValid: (Double) => Boolean)
Value Members
- def ->(value: Double): ParamPair[Double]
Creates a param pair with the given value (for Scala).
Creates a param pair with the given value (for Scala).
- Definition Classes
- Param
- val doc: String
- Definition Classes
- Param
- final def equals(obj: Any): Boolean
- Definition Classes
- Param → AnyRef → Any
- final def hashCode(): Int
- Definition Classes
- Param → AnyRef → Any
- val isValid: (Double) => Boolean
- Definition Classes
- Param
- def jsonDecode(json: String): Double
Decodes a param value from JSON.
Decodes a param value from JSON.
- Definition Classes
- DoubleParam → Param
- def jsonEncode(value: 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
- DoubleParam → Param
- val name: String
- Definition Classes
- Param
- val parent: String
- Definition Classes
- Param
- final def toString(): String
- Definition Classes
- Param → AnyRef → Any
- def w(value: Double): ParamPair[Double]
Creates a param pair with the given value (for Java).
Creates a param pair with the given value (for Java).
- Definition Classes
- DoubleParam → Param