Class/Object

org.apache.spark.ml.param

ParamMap

Related Docs: object ParamMap | package param

Permalink

final class ParamMap extends Serializable

A param to value map.

Annotations
@Since( "1.2.0" )
Source
params.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParamMap
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ParamMap()

    Permalink

    Creates an empty param map.

    Creates an empty param map.

    Annotations
    @Since( "1.2.0" )

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++(other: ParamMap): ParamMap

    Permalink

    Returns a new param map that contains parameters in this map and the given map, where the latter overwrites this if there exist conflicts.

    Returns a new param map that contains parameters in this map and the given map, where the latter overwrites this if there exist conflicts.

    Annotations
    @Since( "1.2.0" )
  4. def ++=(other: ParamMap): ParamMap.this.type

    Permalink

    Adds all parameters from the input param map into this param map.

    Adds all parameters from the input param map into this param map.

    Annotations
    @Since( "1.2.0" )
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def apply[T](param: Param[T]): T

    Permalink

    Gets the value of the input param or its default value if it does not exist.

    Gets the value of the input param or its default value if it does not exist. Raises a NoSuchElementException if there is no value associated with the input param.

    Annotations
    @Since( "1.2.0" )
  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def contains(param: Param[_]): Boolean

    Permalink

    Checks whether a parameter is explicitly specified.

    Checks whether a parameter is explicitly specified.

    Annotations
    @Since( "1.2.0" )
  10. def copy: ParamMap

    Permalink

    Creates a copy of this param map.

    Creates a copy of this param map.

    Annotations
    @Since( "1.2.0" )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def filter(parent: Params): ParamMap

    Permalink

    Filters this param map for the given parent.

    Filters this param map for the given parent.

    Annotations
    @Since( "1.2.0" )
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def get[T](param: Param[T]): Option[T]

    Permalink

    Optionally returns the value associated with a param.

    Optionally returns the value associated with a param.

    Annotations
    @Since( "1.2.0" )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getOrElse[T](param: Param[T], default: T): T

    Permalink

    Returns the value associated with a param or a default value.

    Returns the value associated with a param or a default value.

    Annotations
    @Since( "1.4.0" )
  18. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def put(paramPairs: ParamPair[_]*): ParamMap.this.type

    Permalink

    Puts a list of param pairs (overwrites if the input params exists).

    Puts a list of param pairs (overwrites if the input params exists).

    Annotations
    @varargs() @Since( "1.2.0" )
  24. def put[T](param: Param[T], value: T): ParamMap.this.type

    Permalink

    Puts a (param, value) pair (overwrites if the input param exists).

    Puts a (param, value) pair (overwrites if the input param exists).

    Annotations
    @Since( "1.2.0" )
  25. def remove[T](param: Param[T]): Option[T]

    Permalink

    Removes a key from this map and returns its value associated previously as an option.

    Removes a key from this map and returns its value associated previously as an option.

    Annotations
    @Since( "1.4.0" )
  26. def size: Int

    Permalink

    Number of param pairs in this map.

    Number of param pairs in this map.

    Annotations
    @Since( "1.3.0" )
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toSeq: Seq[ParamPair[_]]

    Permalink

    Converts this param map to a sequence of param pairs.

    Converts this param map to a sequence of param pairs.

    Annotations
    @Since( "1.2.0" )
  29. def toString(): String

    Permalink
    Definition Classes
    ParamMap → AnyRef → Any
    Annotations
    @Since( "1.2.0" )
  30. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. 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