Trait

com.linkedin.photon.ml.hyperparameter

EvaluationFunction

Related Doc: package hyperparameter

Permalink

trait EvaluationFunction[T] extends AnyRef

Base trait for all Evaluation functions.

An evaluation function is the integration point between the hyper-parameter tuning module and an estimator, or any system that can unpack a vector of values and produce a real evaluation.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EvaluationFunction
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(hyperParameters: DenseVector[Double]): (Double, T)

    Permalink

    Performs the evaluation.

    Performs the evaluation.

    hyperParameters

    The vector of hyper-parameter values under which to evaluate the function

    returns

    A tuple of (evaluated value, original output from the inner estimator)

  2. abstract def convertObservations(observations: Seq[T]): Seq[(DenseVector[Double], Double)]

    Permalink

    Vectorize a Seq of prior observations.

    Vectorize a Seq of prior observations.

    observations

    Prior observations in estimator output form

    returns

    Prior observations as tuples of (vector representation of the original estimator output, evaluated value)

  3. abstract def getEvaluationValue(result: T): Double

    Permalink

    Extracts the evaluated value from the original estimator output.

    Extracts the evaluated value from the original estimator output.

    result

    The original estimator output

    returns

    The evaluated value for the original estimator output

  4. abstract def vectorizeParams(result: T): DenseVector[Double]

    Permalink

    Extracts a vector representation from the hyper-parameters associated with the original estimator output.

    Extracts a vector representation from the hyper-parameters associated with the original estimator output.

    result

    The original estimator output

    returns

    Vector representation of the original estimator output

Concrete 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. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped