Class

org.apache.spark.ml.param

Param

Related Doc: package param

Permalink

class Param[T] extends Serializable

:: DeveloperApi :: A param with self-contained documentation and optionally default value. Primitive-typed param should use the specialized versions, which are more friendly to Java users.

T

param value type

Annotations
@DeveloperApi()
Source
params.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Param
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Param(parent: Identifiable, name: String, doc: String)

    Permalink
  2. new Param(parent: String, name: String, doc: String)

    Permalink
  3. new Param(parent: Identifiable, name: String, doc: String, isValid: (T) ⇒ Boolean)

    Permalink
  4. new Param(parent: String, name: String, doc: String, isValid: (T) ⇒ Boolean)

    Permalink

    parent

    parent object

    name

    param name

    doc

    documentation

    isValid

    optional validation method which indicates if a value is valid. See ParamValidators for factory methods for common validation functions.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ->(value: T): ParamPair[T]

    Permalink

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

  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val doc: String

    Permalink

    documentation

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. final def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    Param → AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def hashCode(): Int

    Permalink
    Definition Classes
    Param → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val isValid: (T) ⇒ Boolean

    Permalink

    optional validation method which indicates if a value is valid.

    optional validation method which indicates if a value is valid. See ParamValidators for factory methods for common validation functions.

  15. def jsonDecode(json: String): T

    Permalink

    Decodes a param value from JSON.

  16. def jsonEncode(value: T): String

    Permalink

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

  17. val name: String

    Permalink

    param name

  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. val parent: String

    Permalink

    parent object

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. final def toString(): String

    Permalink
    Definition Classes
    Param → AnyRef → Any
  24. def w(value: T): ParamPair[T]

    Permalink

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

  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Members