Class

org.apache.spark.ml.tuning

ParamGridBuilder

Related Doc: package tuning

Permalink

class ParamGridBuilder extends AnyRef

Builder for a param grid used in grid search-based model selection.

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

Instance Constructors

  1. new ParamGridBuilder()

    Permalink
    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. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addGrid(param: BooleanParam): ParamGridBuilder.this.type

    Permalink

    Adds a boolean param with true and false.

    Adds a boolean param with true and false.

    Annotations
    @Since( "1.2.0" )
  5. def addGrid(param: LongParam, values: Array[Long]): ParamGridBuilder.this.type

    Permalink

    Adds a long param with multiple values.

    Adds a long param with multiple values.

    Annotations
    @Since( "1.2.0" )
  6. def addGrid(param: FloatParam, values: Array[Float]): ParamGridBuilder.this.type

    Permalink

    Adds a float param with multiple values.

    Adds a float param with multiple values.

    Annotations
    @Since( "1.2.0" )
  7. def addGrid(param: IntParam, values: Array[Int]): ParamGridBuilder.this.type

    Permalink

    Adds an int param with multiple values.

    Adds an int param with multiple values.

    Annotations
    @Since( "1.2.0" )
  8. def addGrid(param: DoubleParam, values: Array[Double]): ParamGridBuilder.this.type

    Permalink

    Adds a double param with multiple values.

    Adds a double param with multiple values.

    Annotations
    @Since( "1.2.0" )
  9. def addGrid[T](param: Param[T], values: Iterable[T]): ParamGridBuilder.this.type

    Permalink

    Adds a param with multiple values (overwrites if the input param exists).

    Adds a param with multiple values (overwrites if the input param exists).

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

    Permalink
    Definition Classes
    Any
  11. def baseOn(paramPairs: ParamPair[_]*): ParamGridBuilder.this.type

    Permalink

    Sets the given parameters in this grid to fixed values.

    Sets the given parameters in this grid to fixed values.

    Annotations
    @Since( "1.2.0" ) @varargs()
  12. def baseOn(paramMap: ParamMap): ParamGridBuilder.this.type

    Permalink

    Sets the given parameters in this grid to fixed values.

    Sets the given parameters in this grid to fixed values.

    Annotations
    @Since( "1.2.0" )
  13. def build(): Array[ParamMap]

    Permalink

    Builds and returns all combinations of parameters specified by the param grid.

    Builds and returns all combinations of parameters specified by the param grid.

    Annotations
    @Since( "1.2.0" )
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Members