Class/Object

scalismo.statisticalmodel

DiscreteLowRankGaussianProcess

Related Docs: object DiscreteLowRankGaussianProcess | package statisticalmodel

Permalink

case class DiscreteLowRankGaussianProcess[D <: Dim, DO <: Dim] extends DiscreteGaussianProcess[D, DO] with Product with Serializable

Represents a low-rank gaussian process, that is only defined at a finite, discrete set of points. It supports the same operations as the LowRankGaussianProcess class, but always returns instead a discrete representation. Furthermore, most operations are much more efficient, as they are implemented using fast matrix/vector operations.

Where the modeled functions in a LowRankGaussianProcess are of type Point[D]=>Vector[D], this discretized version is of type VectorPointData.

It is possible to convert a DiscreteLowRankGaussianProcess to a LowRankGaussianProcess by calling the interpolation method.

Self Type
DiscreteLowRankGaussianProcess[D, DO]
See also

DiscreteLowRankGaussianProcess

scalismo.common.DiscreteVectorField

Linear Supertypes
Serializable, Serializable, Product, Equals, DiscreteGaussianProcess[D, DO], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DiscreteLowRankGaussianProcess
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. DiscreteGaussianProcess
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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. val _domain: DiscreteDomain[D]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val basisMatrix: DenseMatrix[Float]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def coefficients(s: DiscreteVectorField[D, DO]): DenseVector[Float]

    Permalink

    Discrete version of Vector[DO], Double)])

  9. val cov: DiscreteMatrixValuedPDKernel[D, DO]

    Permalink
    Definition Classes
    DiscreteGaussianProcess
  10. val domain: DiscreteDomain[D]

    Permalink
    Definition Classes
    DiscreteGaussianProcess
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def instance(c: DenseVector[Float]): DiscreteVectorField[D, DO]

    Permalink

    Discrete version of DiscreteLowRankGaussianProcess.instance

  15. def instanceVector(alpha: DenseVector[Float]): DenseVector[Float]

    Permalink
    Attributes
    protected[scalismo.statisticalmodel]
  16. def interpolateNearestNeighbor: LowRankGaussianProcess[D, DO]

    Permalink

    Interpolates discrete Gaussian process to have a new, continuous representation as a DiscreteLowRankGaussianProcess, using nearest neigbor interpolation (for both mean and covariance function)

    Interpolates discrete Gaussian process to have a new, continuous representation as a DiscreteLowRankGaussianProcess, using nearest neigbor interpolation (for both mean and covariance function)

    Definition Classes
    DiscreteLowRankGaussianProcessDiscreteGaussianProcess
  17. def interpolateNystrom(nNystromPoints: Int = 2 * rank): LowRankGaussianProcess[D, DO]

    Permalink

    Interpolates discrete Gaussian process to have a new, continuous representation as a DiscreteLowRankGaussianProcess.

    Interpolates discrete Gaussian process to have a new, continuous representation as a DiscreteLowRankGaussianProcess. This is achieved by using a Nystrom method for computing the kl basis. The mean function is currently interpolated using a nearest neighbor approach.

    nNystromPoints

    determines how many points of the domain are used to estimate the full kl basis.

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def klBasis: KLBasis[D, DO]

    Permalink

    Returns the variance and associated basis function that defines the process.

    Returns the variance and associated basis function that defines the process. The basis is the (discretized) Karhunen Loeve basis (e.g. it is obtained from a Mercer's decomposition of the covariance function

  20. def logpdf(instance: DiscreteVectorField[D, DO]): 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

    Definition Classes
    DiscreteLowRankGaussianProcessDiscreteGaussianProcess
  21. def logpdf(coefficients: DenseVector[Float]): Double

    Permalink

    Returns the log of the probability density of the instance produced by the x coefficients.

    Returns the log of the probability density of the instance produced by the x coefficients.

    If you are interested in ordinal comparisons of PDFs, use this as it is numerically more stable

  22. def marginal(pointIds: Seq[PointId])(implicit domainCreator: CreateUnstructuredPointsDomain[D]): DiscreteLowRankGaussianProcess[D, DO]

    Permalink

    The marginal distribution for the points specified by the given point ids.

    The marginal distribution for the points specified by the given point ids. Note that this is again a DiscreteGaussianProcess.

    Definition Classes
    DiscreteLowRankGaussianProcessDiscreteGaussianProcess
  23. def marginal(pointId: PointId): NDimensionalNormalDistribution[DO]

    Permalink

    The marginal distribution at a given (single) point, specified by the pointId.

    The marginal distribution at a given (single) point, specified by the pointId.

    Definition Classes
    DiscreteGaussianProcess
  24. val mean: DiscreteVectorField[D, DO]

    Permalink
    Definition Classes
    DiscreteGaussianProcess
  25. val meanVector: DenseVector[Float]

    Permalink
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  29. val outputDimensionality: Int

    Permalink
    Definition Classes
    DiscreteGaussianProcess
  30. def pdf(instance: DiscreteVectorField[D, DO]): Double

    Permalink

    Returns the probability density of the given instance

    Returns the probability density of the given instance

    Definition Classes
    DiscreteLowRankGaussianProcessDiscreteGaussianProcess
  31. def pdf(coefficients: DenseVector[Float]): Double

    Permalink

    Returns the probability density of the instance produced by the x coefficients

  32. def posterior(trainingData: IndexedSeq[(PointId, Vector[DO], NDimensionalNormalDistribution[DO])]): DiscreteLowRankGaussianProcess[D, DO]

    Permalink

    Discrete version of Vector[DO], Double)]).

    Discrete version of Vector[DO], Double)]). In contrast to this method, the points for the training data are defined by the pointId. The returned posterior process is defined at the same points.

  33. def posterior(trainingData: IndexedSeq[(PointId, Vector[DO])], sigma2: Double): DiscreteLowRankGaussianProcess[D, DO]

    Permalink

    Discrete version of Vector[DO])], sigma2: Double.

    Discrete version of Vector[DO])], sigma2: Double. In contrast to this method, the points for the training data are defined by the pointId. The returned posterior process is defined at the same points.

  34. def project(s: DiscreteVectorField[D, DO]): DiscreteVectorField[D, DO]

    Permalink

    Discrete version of Vector[DO])], Double)

    Discrete version of Vector[DO])], Double)

    Definition Classes
    DiscreteLowRankGaussianProcessDiscreteGaussianProcess
  35. val rank: Int

    Permalink

    See DiscreteLowRankGaussianProcess.rank

  36. def sample: DiscreteVectorField[D, DO]

    Permalink

    Discrete version of DiscreteLowRankGaussianProcess.sample

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

    Permalink
    Definition Classes
    AnyRef
  38. val variance: DenseVector[Float]

    Permalink
  39. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DiscreteGaussianProcess[D, DO]

Inherited from AnyRef

Inherited from Any

Ungrouped