Class

org.apache.spark.ml.odkl.hyperopt

RandomOptimizer

Related Doc: package hyperopt

Permalink

class RandomOptimizer extends RandomSearch[Double] with BayesianParamOptimizer

Simple sampler from the Sobol points sequence

Linear Supertypes
BayesianParamOptimizer, RandomSearch[Double], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RandomOptimizer
  2. BayesianParamOptimizer
  3. RandomSearch
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RandomOptimizer(domains: Seq[ParamDomain[_]], seed: Long, discreteParams: Map[Int, Int])

    Permalink

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def discretizeCandidate(candidate: DenseVector[Double], discreteParams: Map[Int, Int]): DenseVector[Double]

    Permalink

    Discretize candidates with specified indices.

    Discretize candidates with specified indices.

    candidate

    candidate with values in [0, 1]

    discreteParams

    Map that specifies the indices of discrete parameters and their numbers of discrete values

    returns

    candidate with the specified discrete values

    Attributes
    protected[com.linkedin.photon.ml.hyperparameter.search]
    Definition Classes
    RandomSearch
  7. def drawCandidates(n: Int): DenseMatrix[Double]

    Permalink

    Draw candidates from the distributions along each dimension in the space

    Draw candidates from the distributions along each dimension in the space

    n

    the number of candidates to draw

    Attributes
    protected[com.linkedin.photon.ml.hyperparameter.search]
    Definition Classes
    RandomSearch
  8. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def find(n: Int): Seq[Double]

    Permalink

    Searches and returns n points in the space.

    Searches and returns n points in the space.

    n

    The number of points to find

    returns

    The found points

    Definition Classes
    RandomSearch
  12. def findWithPriorObservations(n: Int, priorObservations: Seq[(DenseVector[Double], Double)]): Seq[Double]

    Permalink

    Searches and returns n points in the space, given prior observations from past data sets.

    Searches and returns n points in the space, given prior observations from past data sets.

    n

    The number of points to find

    priorObservations

    Observations made prior to searching, from past data sets (mean-centered)

    returns

    The found points

    Definition Classes
    RandomSearch
  13. def findWithPriors(n: Int, observations: Seq[(DenseVector[Double], Double)], priorObservations: Seq[(DenseVector[Double], Double)]): Seq[Double]

    Permalink

    Searches and returns n points in the space, given prior observations from this data set and past data sets.

    Searches and returns n points in the space, given prior observations from this data set and past data sets.

    n

    The number of points to find

    observations

    Observations made prior to searching, from this data set (not mean-centered)

    priorObservations

    Observations made prior to searching, from past data sets (mean-centered)

    returns

    The found points

    Definition Classes
    RandomSearch
  14. final def getClass(): Class[_]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def next(lastCandidate: DenseVector[Double], lastObservation: Double): DenseVector[Double]

    Permalink

    Produces the next candidate, given the last.

    Produces the next candidate, given the last. In this case, the next candidate is chosen uniformly from the space.

    lastCandidate

    the last candidate

    lastObservation

    the last observed value

    returns

    the next candidate

    Attributes
    protected[com.linkedin.photon.ml.hyperparameter.search]
    Definition Classes
    RandomSearch
  19. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  21. def onObservation(point: DenseVector[Double], eval: Double): Unit

    Permalink

    Handler callback for each observation.

    Handler callback for each observation. In this case, we do nothing.

    point

    the observed point in the space

    eval

    the observed value

    Attributes
    protected[com.linkedin.photon.ml.hyperparameter.search]
    Definition Classes
    RandomSearch
  22. def onPriorObservation(point: DenseVector[Double], eval: Double): Unit

    Permalink

    Handler callback for each observation in the prior data.

    Handler callback for each observation in the prior data. In this case, we do nothing.

    point

    the observed point in the space

    eval

    the observed value

    Attributes
    protected[com.linkedin.photon.ml.hyperparameter.search]
    Definition Classes
    RandomSearch
  23. def sampleInitialParams(): DenseVector[Double]

    Permalink

    returns

    Initial random sample of parameters to investigate.

    Definition Classes
    RandomOptimizerBayesianParamOptimizer
  24. def sampleNextParams(observation: DenseVector[Double], value: Double): DenseVector[Double]

    Permalink

    returns

    Having evaluation for the certain parameters sample next point to evaluate.

    Definition Classes
    RandomOptimizerBayesianParamOptimizer
  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from BayesianParamOptimizer

Inherited from RandomSearch[Double]

Inherited from AnyRef

Inherited from Any

Ungrouped