public static class NormalInverseWishartDistribution.PDF extends NormalInverseWishartDistribution implements ProbabilityDensityFunction<Matrix>
NormalInverseWishartDistribution.PDF
covarianceDivisor, DEFAULT_COVARIANCE_DIVISOR, DEFAULT_DIMENSIONALITY, gaussian, inverseWishart
Constructor and Description |
---|
PDF()
Default constructor
|
PDF(int dimensionality,
double covarianceDivisor)
Creates a new instance of NormalInverseWishartDistribution
|
PDF(MultivariateGaussian gaussian,
InverseWishartDistribution inverseWishart,
double covarianceDivisor)
Creates a new instance of NormalInverseWishartDistribution
|
PDF(NormalInverseWishartDistribution other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
evaluate(Matrix input)
Evaluates the function on the given input and returns the output.
|
NormalInverseWishartDistribution.PDF |
getProbabilityFunction()
Gets the distribution function associated with this Distribution,
either the PDF or PMF.
|
double |
logEvaluate(Matrix input)
Evaluate the natural logarithm of the distribution function.
|
clone, convertFromVector, convertToVector, getCovarianceDivisor, getGaussian, getInputDimensionality, getInverseWishart, getMean, sampleInto, setCovarianceDivisor, setGaussian, setInverseWishart
sample, sample
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMean
clone, convertFromVector, convertToVector
sample, sample, sampleInto
public PDF()
public PDF(int dimensionality, double covarianceDivisor)
dimensionality
- Dimensionality of the distributionscovarianceDivisor
- Term that divides the covariance sampled from the inverseWishart,
must be greater than zero.public PDF(MultivariateGaussian gaussian, InverseWishartDistribution inverseWishart, double covarianceDivisor)
gaussian
- Generates the mean, given the covariance from the inverseWishart.inverseWishart
- Generates the covariance for the Gaussian.covarianceDivisor
- Term that divides the covariance sampled from the inverseWishart,
must be greater than zero.public PDF(NormalInverseWishartDistribution other)
other
- NormalInverseWishartDistribution to copypublic NormalInverseWishartDistribution.PDF getProbabilityFunction()
ComputableDistribution
getProbabilityFunction
in interface ComputableDistribution<Matrix>
getProbabilityFunction
in interface ProbabilityDensityFunction<Matrix>
getProbabilityFunction
in class NormalInverseWishartDistribution
public double logEvaluate(Matrix input)
ProbabilityFunction
logEvaluate
in interface ProbabilityFunction<Matrix>
input
- The input to be evaluated