class ParamGridBuilder extends AnyRef
Builder for a param grid used in grid search-based model selection.
- Annotations
- @Since( "1.2.0" )
- Source
- ParamGridBuilder.scala
- Alphabetic
- By Inheritance
- ParamGridBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ParamGridBuilder()
- Annotations
- @Since( "1.2.0" )
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addGrid(param: BooleanParam): ParamGridBuilder.this.type
Adds a boolean param with true and false.
Adds a boolean param with true and false.
- Annotations
- @Since( "1.2.0" )
-
def
addGrid(param: LongParam, values: Array[Long]): ParamGridBuilder.this.type
Adds a long param with multiple values.
Adds a long param with multiple values.
- Annotations
- @Since( "1.2.0" )
-
def
addGrid(param: FloatParam, values: Array[Float]): ParamGridBuilder.this.type
Adds a float param with multiple values.
Adds a float param with multiple values.
- Annotations
- @Since( "1.2.0" )
-
def
addGrid(param: IntParam, values: Array[Int]): ParamGridBuilder.this.type
Adds an int param with multiple values.
Adds an int param with multiple values.
- Annotations
- @Since( "1.2.0" )
-
def
addGrid(param: DoubleParam, values: Array[Double]): ParamGridBuilder.this.type
Adds a double param with multiple values.
Adds a double param with multiple values.
- Annotations
- @Since( "1.2.0" )
-
def
addGrid[T](param: Param[T], values: Iterable[T]): ParamGridBuilder.this.type
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" )
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
baseOn(paramPairs: ParamPair[_]*): ParamGridBuilder.this.type
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()
-
def
baseOn(paramMap: ParamMap): ParamGridBuilder.this.type
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" )
-
def
build(): Array[ParamMap]
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" )
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated