case class GridHyperOptimizer() extends HyperOptimizer with Product with Serializable
Brute force search over the grid of hypers
Created by maxhutch on 12/7/16.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GridHyperOptimizer
- Serializable
- Serializable
- Product
- Equals
- HyperOptimizer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new GridHyperOptimizer()
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
addHyperGrid(name: String, values: Seq[Any]): GridHyperOptimizer.this.type
Add a 1D hyper range to the space searched by this optimizer
Add a 1D hyper range to the space searched by this optimizer
- name
of the hyper
- values
it takes, enumerated as a seq
- returns
calling instance
- Definition Classes
- HyperOptimizer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
var
hyperGrids: Map[String, Seq[Any]]
The search space
The search space
- Definition Classes
- HyperOptimizer
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
optimize(trainingData: Seq[(Vector[Any], Any)], numIterations: Int = 1, builder: (Map[String, Any]) ⇒ Learner): (Map[String, Any], Double)
Search by enumerating every combination of hyper values
Search by enumerating every combination of hyper values
- trainingData
the data to train/test on
- numIterations
ignored, since this is a brute force search
- returns
the best hyper map found in the search space
- Definition Classes
- GridHyperOptimizer → HyperOptimizer
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )