Class

com.github.gradientgmm.components

GConcaveGaussian

Related Doc: package components

Permalink

class GConcaveGaussian extends MultivariateGaussian

Multivariate Gaussian Distribution reformulation that produces a g-concave loss function in An Alternative to EM for Gaussian Mixture Models: Batch and Stochastic Riemannian Optimization]]

For an arbitrary Gaussian distribution, its g-concave reformulation have zero mean and an augmented covariance matrix which is a function of the original mean, covariance matrix and an additional positive scalar s. Original data points x are mapped to y = [x 1] to be evaluated under the new distribution. When s = 1, the density of the original distribution and the reformulation coincide.

Linear Supertypes
MultivariateGaussian, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GConcaveGaussian
  2. MultivariateGaussian
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GConcaveGaussian(s: Double, _mu: DenseVector[Double], _sigma: DenseMatrix[Double])

    Permalink

    s

    Positive scalar

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. def computeParamBlockMatrix: DenseMatrix[Double]

    Permalink

    Compute augmented parameter matrix

  7. val d: Int

    Permalink

    data dimensionality

    data dimensionality

    Definition Classes
    MultivariateGaussian
  8. def detSigma: Double

    Permalink

    Returns the covariance matrix' determinant

    Returns the covariance matrix' determinant

    Definition Classes
    MultivariateGaussian
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def gConcavePdf(x: DenseVector[Double]): Double

    Permalink

    Returns the g-concave reformulation's density evaluated on x

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getMu: DenseVector[Double]

    Permalink
    Definition Classes
    MultivariateGaussian
  15. def getS: Double

    Permalink
  16. def getSigma: DenseMatrix[Double]

    Permalink
    Definition Classes
    MultivariateGaussian
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def invParamBlockMatrix: DenseMatrix[Double]

    Permalink

    Augmented parameter block matrix inverse [A B; C D].

    Augmented parameter block matrix inverse [A B; C D]. Its blocks are:

    A = sigmaInv

    B = sigmaInv * mu

    C = mu.t * sigmaInv

    D = 1/s + mu.t * sigmaInv * mu

  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def logDetSigma: Double

    Permalink

    Returns the covariance matrix' log-determinant

    Returns the covariance matrix' log-determinant

    Definition Classes
    MultivariateGaussian
  21. def logpdf(x: Vector[Double]): Double

    Permalink

    Returns the distribution's log-density function evaluated on x

    Returns the distribution's log-density function evaluated on x

    Definition Classes
    MultivariateGaussian
  22. def logpdf(x: Vector): Double

    Permalink

    Returns the distribution's log-density function evaluated on x

    Returns the distribution's log-density function evaluated on x

    Definition Classes
    MultivariateGaussian
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. var paramBlockMatrix: DenseMatrix[Double]

    Permalink

    Augmented parameter block matrix [A B; C D].

    Augmented parameter block matrix [A B; C D]. The blocks are:

    A = sigma + s * mu * mu.t

    B = s * mu

    C = s * mu.t

    D = s

  27. def pdf(x: Vector[Double]): Double

    Permalink

    Returns the distribution's density function evaluated on x

    Returns the distribution's density function evaluated on x

    Definition Classes
    MultivariateGaussian
  28. def pdf(x: Vector): Double

    Permalink

    Returns the distribution's density function evaluated on x

    Returns the distribution's density function evaluated on x

    Definition Classes
    MultivariateGaussian
  29. var rootSigmaInv: DenseMatrix[Double]

    Permalink

    square root of the covariance matrix inverse, and the density's constant term

    square root of the covariance matrix inverse, and the density's constant term

    Definition Classes
    MultivariateGaussian
  30. var s: Double

    Permalink

    Positive scalar

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. var u: Double

    Permalink

    square root of the covariance matrix inverse, and the density's constant term

    square root of the covariance matrix inverse, and the density's constant term

    Definition Classes
    MultivariateGaussian
  34. final def wait(): Unit

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

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

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

Inherited from MultivariateGaussian

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped