public class MultivariateGaussian
extends Object
implements scala.Serializable
http://en.wikipedia.org/wiki/Multivariate_normal_distribution#Degenerate_case
)
Constructor and Description |
---|
MultivariateGaussian(breeze.linalg.DenseVector<Object> mu,
breeze.linalg.DenseMatrix<Object> sigma)
private[mllib] constructor
|
MultivariateGaussian(Vector mu,
Matrix sigma) |
Modifier and Type | Method and Description |
---|---|
double |
logpdf(Vector x)
Returns the log-density of this multivariate Gaussian at given point, x
|
double |
logpdf(breeze.linalg.Vector<Object> x)
Returns the log-density of this multivariate Gaussian at given point, x
|
Vector |
mu() |
double |
pdf(Vector x)
Returns density of this multivariate Gaussian at given point, x
|
double |
pdf(breeze.linalg.Vector<Object> x)
Returns density of this multivariate Gaussian at given point, x
|
Matrix |
sigma() |
public MultivariateGaussian(breeze.linalg.DenseVector<Object> mu, breeze.linalg.DenseMatrix<Object> sigma)
mu
- The mean vector of the distributionsigma
- The covariance matrix of the distributionpublic Vector mu()
public Matrix sigma()
public double pdf(Vector x)
public double logpdf(Vector x)
public double pdf(breeze.linalg.Vector<Object> x)
public double logpdf(breeze.linalg.Vector<Object> x)