Public Member Functions | |
UnivariateGaussianFixedVariance () | |
Class constructor with . | |
UnivariateGaussianFixedVariance (double variance) | |
Class constructor. | |
double | F (PVector T) |
Computes the log normalizer . | |
PVector | gradF (PVector T) |
Computes . | |
double | G (PVector H) |
Computes . | |
PVector | gradG (PVector H) |
Computes . | |
PVector | t (PVector x) |
Computes the sufficient statistic . | |
double | k (PVector x) |
Computes the carrier measure . | |
PVector | Lambda2Theta (PVector L) |
Converts source parameters to natural parameters. | |
PVector | Theta2Lambda (PVector T) |
Converts natural parameters to source parameters. | |
PVector | Lambda2Eta (PVector L) |
Converts source parameters to expectation parameters. | |
PVector | Eta2Lambda (PVector H) |
Converts expectation parameters to source parameters. | |
double | density (PVector x, PVector param) |
Computes the density value . | |
PVector | drawRandomPoint (PVector L) |
Draws a point from the considered distribution. | |
double | KLD (PVector LP, PVector LQ) |
Computes the Kullback-Leibler divergence between two univariate Gaussian distributions. |
where are the natural parameters. This class implements the different functions allowing to express a univariate Gaussian distribution as a member of an exponential family.
jMEF.UnivariateGaussianFixedVariance.UnivariateGaussianFixedVariance | ( | ) |
Class constructor with .
jMEF.UnivariateGaussianFixedVariance.UnivariateGaussianFixedVariance | ( | double | variance | ) |
Class constructor.
variance | variance |
Computes the density value .
x | a point | |
param | parameters (source, natural, or expectation) |
Draws a point from the considered distribution.
L | source parameters |
Converts expectation parameters to source parameters.
H | natural parameters |
double jMEF.UnivariateGaussianFixedVariance.F | ( | PVector | T | ) |
Computes the log normalizer .
T | natural parameters |
double jMEF.UnivariateGaussianFixedVariance.G | ( | PVector | H | ) |
Computes .
H | expectation parameters |
Computes .
T | natural parameters |
Computes .
H | expectation parameters |
double jMEF.UnivariateGaussianFixedVariance.k | ( | PVector | x | ) |
Computes the carrier measure .
x | a point |
Computes the Kullback-Leibler divergence between two univariate Gaussian distributions.
LP | source parameters | |
LQ | source parameters |
Converts source parameters to expectation parameters.
L | source parameters |
Converts source parameters to natural parameters.
L | source parameters |
Computes the sufficient statistic .
x | a point |
Converts natural parameters to source parameters.
T | natural parameters |