Trait

com.linkedin.photon.ml.hyperparameter.estimators.kernels

Kernel

Related Doc: package kernels

Permalink

trait Kernel extends AnyRef

Base trait for covariance kernel functions

In Gaussian processes estimators and models, the covariance kernel determines the similarity between points in the space. We assume that similarity in domain entails similarity in range, hence the kernel also encodes our prior assumptions about how the function behaves.

See also

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

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

Abstract Value Members

  1. abstract def apply(x1: DenseMatrix[Double], x2: DenseMatrix[Double]): DenseMatrix[Double]

    Permalink

    Applies the kernel functions to the two sets of points

    Applies the kernel functions to the two sets of points

    x1

    the matrix containing the first set of points, where each of the m rows is a point in the space

    x2

    the matrix containing the second set of points, where each of the p rows is a point in the space

    returns

    the m x p covariance matrix

  2. abstract def apply(x: DenseMatrix[Double]): DenseMatrix[Double]

    Permalink

    Applies the kernel function to the given points

    Applies the kernel function to the given points

    x

    the matrix of points, where each of the m rows is a point in the space

    returns

    the m x m covariance matrix

  3. abstract def getInitialKernel(x: DenseMatrix[Double], y: DenseVector[Double]): Kernel

    Permalink

    Builds a kernel with initial settings, based on the observations

    Builds a kernel with initial settings, based on the observations

    x

    the observed features

    y

    the observed labels

    returns

    the initial kernel

  4. abstract def getParams: DenseVector[Double]

    Permalink

    Returns the kernel parameters as a vector

    Returns the kernel parameters as a vector

    returns

    the kernel parameters

  5. abstract def logLikelihood(x: DenseMatrix[Double], y: DenseVector[Double]): Double

    Permalink

    Computes the log likelihood of the kernel parameters

    Computes the log likelihood of the kernel parameters

    x

    the observed features

    y

    the observed labels

    returns

    the log likelihood

  6. abstract def withParams(theta: DenseVector[Double]): Kernel

    Permalink

    Creates a new kernel function of the same type, with the given parameters

    Creates a new kernel function of the same type, with the given parameters

    theta

    the parameter vector for the new kernel function

    returns

    the new kernel function

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 expandDimensions(param: DenseVector[Double], dim: Int): DenseVector[Double]

    Permalink

    If only one parameter value has been specified, builds a new vector with the single value repeated to fill all dimensions

    If only one parameter value has been specified, builds a new vector with the single value repeated to fill all dimensions

    param

    the initial parameters

    dim

    the dimensions of the final vector

    returns

    the vector with all dimensions specified

  9. def finalize(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped