Class/Object

scalismo.faces.momo

PancakeDLRGP

Related Docs: object PancakeDLRGP | package momo

Permalink

case class PancakeDLRGP[D <: Dim, +DDomain <: DiscreteDomain[D], Value](gpModel: DiscreteLowRankGaussianProcess[D, DDomain, Value], noiseVariance: Double)(implicit evidence$1: NDSpace[D]) extends Product with Serializable

Models of the type DiscreteLowRankGaussianProcess + noiseVariance * delta - extension of DLRGP to whole space (pancake) This is a PPCA model but the basis matrix does not need to be orthogonal

D

dimensionality of domain

Value

value type of model

gpModel

underlying discrete low-rank Gaussian Process, subspace model

noiseVariance

isotropic noise variance, "subspace + N(0, noiseVariance)"

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PancakeDLRGP
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PancakeDLRGP(gpModel: DiscreteLowRankGaussianProcess[D, DDomain, Value], noiseVariance: Double)(implicit arg0: NDSpace[D])

    Permalink

    gpModel

    underlying discrete low-rank Gaussian Process, subspace model

    noiseVariance

    isotropic noise variance, "subspace + N(0, noiseVariance)"

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 basisMatrix: DenseMatrix[Double]

    Permalink

    low-rank basis matrix, (outputdim*numberOfPoints)x(rank)

  6. def basisMatrixScaled: DenseMatrix[Double]

    Permalink

    scaled basis matrix, scaled with standard deviations ("W" [PPCA lit.] or "Q" [GP lit.])

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. def coefficients(s: DiscreteField[D, DiscreteDomain[D], Value]): DenseVector[Double]

    Permalink

    Get the low-rank expansion coefficients of a sample, respects model noise

  9. lazy val coefficientsDistribution: MultivariateNormalDistribution

    Permalink

    Get the probability distribution of the coefficients in the latent space of the model (multivariate standard normal).

    Get the probability distribution of the coefficients in the latent space of the model (multivariate standard normal).

    returns

    MultivariateNormalDistribution(0,I).

  10. val cov: DiscreteMatrixValuedPDKernel[D]

    Permalink

    covariance of this Gaussian Process: underlying GP + local uncorrelated noise

  11. val domain: DiscreteDomain[D]

    Permalink

    domain where this Gaussian Process is defined (same as underling process)

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. val gpModel: DiscreteLowRankGaussianProcess[D, DDomain, Value]

    Permalink

    underlying discrete low-rank Gaussian Process, subspace model

  15. def instance(c: DenseVector[Double]): DiscreteField[D, DDomain, Value]

    Permalink

    Draw an instance from the model, instance of underlying DiscreteLowRankGaussianProcess

  16. def instanceAtPoint(c: DenseVector[Double], pid: PointId): Value

    Permalink

    Get instance at a specific point

  17. def interpolateNearestNeighbor: GaussianProcess[D, Value]

    Permalink

    interpolate this process with nearest neighbours

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def logpdf(instance: DiscreteField[D, DiscreteDomain[D], Value]): Double

    Permalink

    Returns the log of the probability density of the instance

    Returns the log of the probability density of the instance

    If you are interested in ordinal comparisons of PDFs, use this as it is numerically more stable, takes spherical noise term into account

  20. def marginal(pointIds: Seq[PointId])(implicit domainCreator: Create[D]): PancakeDLRGP[D, UnstructuredPointsDomain[D], Value]

    Permalink

    Calculate the marginal distribution on a set of points

  21. def matrixMinv: DenseMatrix[Double]

    Permalink

    inverted intermediate matrix M

  22. val mean: DiscreteField[D, DDomain, Value]

    Permalink

    mean field

  23. def meanVector: DenseVector[Double]

    Permalink

    mean vector of underlying DLRGP model

  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. val noiseDistribution: MultivariateNormalDistribution

    Permalink

    Noise distribution, expands the low rank subspace distribution to whole domain/space

  26. val noiseVariance: Double

    Permalink

    isotropic noise variance, "subspace + N(0, noiseVariance)"

  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. val outputDim: Int

    Permalink

    output dimension of GP, same as underlying

  30. def pdf(instance: DiscreteField[D, DiscreteDomain[D], Value]): Double

    Permalink

    Returns the probability density of the given instance, takes spherical noise term into account

  31. def posterior(trainingData: IndexedSeq[(PointId, Value, MultivariateNormalDistribution)]): PancakeDLRGP[D, DDomain, Value]

    Permalink

    Calculate the posterior model given point observations with an individual uncertainty for each

    Calculate the posterior model given point observations with an individual uncertainty for each

    trainingData

    list of point observations (PointId, Value, Uncertainty), uncertainty is *additional* (independent) to model noise

  32. def posterior(trainingData: IndexedSeq[(PointId, Value)], sigma2: Double): PancakeDLRGP[D, DDomain, Value]

    Permalink

    Calculate the posterior model given point observations with a common independent isotropic Gaussian noise

    Calculate the posterior model given point observations with a common independent isotropic Gaussian noise

    sigma2

    observation noise of sample, *additional* (independent) to model noise

  33. def project(s: DiscreteField[D, DiscreteDomain[D], Value]): DiscreteField[D, DDomain, Value]

    Permalink

    Project the sample into this model, best reconstruction

  34. val rank: Int

    Permalink

    See DiscreteLowRankGaussianProcess.rank

  35. def sample()(implicit rnd: Random): DiscreteField[D, DDomain, Value]

    Permalink

    Draw a sample from the model, includes noise(!) (use underlying gpModel without noise)

  36. def stddev: DenseVector[Double]

    Permalink

    standard deviation along each basis direction

  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def toDiscreteGaussianProcess: DiscreteGaussianProcess[D, DDomain, Value]

    Permalink

    this process as a DiscreteGaussianProcess, full rank

  39. def truncate(rank: Int): PancakeDLRGP[D, DDomain, Value]

    Permalink

    truncate the underlying low rank GP model (drops components, does not change noise)

  40. def variance: DenseVector[Double]

    Permalink

    variance along each basis direction

  41. implicit val vectorizer: Vectorizer[Value]

    Permalink
  42. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped