Class

com.linkedin.photon.ml.hyperparameter.estimators

GaussianProcessEstimator

Related Doc: package estimators

Permalink

class GaussianProcessEstimator extends AnyRef

Estimates a Gaussian Process regression model

See also

"Gaussian Processes for Machine Learning" (GPML), http://www.gaussianprocess.org/gpml/, Chapter 2

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

Instance Constructors

  1. new GaussianProcessEstimator(kernel: Kernel = new RBF, normalizeLabels: Boolean = false, noisyTarget: Boolean = false, predictionTransformation: Option[PredictionTransformation] = None, monteCarloNumBurnInSamples: Int = 100, monteCarloNumSamples: Int = 10, seed: Long = System.currentTimeMillis)

    Permalink

    kernel

    the covariance kernel

    normalizeLabels

    if true, the estimator normalizes labels to a mean of zero before fitting

    noisyTarget

    learn a target function with noise

    predictionTransformation

    transformation function to apply for predictions

    monteCarloNumBurnInSamples

    the number of samples to draw during the burn-in phase of kernel parameter estimation

    monteCarloNumSamples

    the number of samples to draw for estimating kernel parameters

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. val defaultNoise: Double

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def estimateKernelParams(x: DenseMatrix[Double], y: DenseVector[Double]): List[Kernel]

    Permalink

    Estimates kernel parameters by sampling from the kernel parameter likelihood function

    Estimates kernel parameters by sampling from the kernel parameter likelihood function

    We assume a uniform prior over the kernel parameters $\theta$ and observed features $x$, therefore:

    $l(\theta|x,y) = p(y|theta,x) \propto p(theta|x,y)$

    Since the slice sampling algorithm requires that the function be merely proportional to the target distribution, sampling from this function is equivalent to sampling from p(\theta|x,y). These samples can then be used to compute a Monte Carlo estimate of the response for a new query point $q'$ by integrating over values of $\theta$:

    $\int r(x', \theta) p(\theta) d\theta$

    In this way we (approximately) marginalize over all $\theta$ and arrive at a more robust estimate than would be produced by computing a maximum likelihood point estimate of the parameters.

    x

    the observed features

    y

    the observed labels

    returns

    a collection of covariance kernels corresponding to the sampled kernel parameters

    Attributes
    protected[com.linkedin.photon.ml.hyperparameter.estimators]
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fit(x: DenseMatrix[Double], y: DenseVector[Double]): GaussianProcessModel

    Permalink

    Produces a Gaussian Process regression model from the input features and labels

    Produces a Gaussian Process regression model from the input features and labels

    x

    the observed features

    y

    the observed labels

    returns

    the estimated model

  12. final def getClass(): Class[_]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def sampleNext(theta: DenseVector[Double], x: DenseMatrix[Double], y: DenseVector[Double]): DenseVector[Double]

    Permalink

    Samples the next theta, given the previous one

    Samples the next theta, given the previous one

    theta

    the previous sample

    x

    the observed features

    y

    the observed labels

    returns

    the next theta sample

    Attributes
    protected[com.linkedin.photon.ml.hyperparameter.estimators]
  19. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped