org.apache.spark.ml.param

ParamMap

final class ParamMap extends Serializable

:: Experimental :: A param to value map.

Annotations
@Experimental()
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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ParamMap()

    Creates an empty param map.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

  5. def ++=(other: ParamMap): ParamMap.this.type

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

  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def apply[T](param: Param[T]): T

    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.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

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

    Checks whether a parameter is explicitly specified.

  12. def copy: ParamMap

    Creates a copy of this param map.

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

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

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

    Filters this param map for the given parent.

  16. def finalize(): Unit

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

    Optionally returns the value associated with a param.

  18. final def getClass(): Class[_]

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

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

  20. def hashCode(): Int

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

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

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

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

    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()
  26. def put[T](param: Param[T], value: T): ParamMap.this.type

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

  27. def remove[T](param: Param[T]): Option[T]

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

  28. def size: Int

    Number of param pairs in this map.

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

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

    Converts this param map to a sequence of param pairs.

  31. def toString(): String

    Definition Classes
    ParamMap → AnyRef → Any
  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Members