#include <simplenormaldistribution.h>
Inheritance diagram for CLUS::SimpleNormalDistribution:


Public Member Functions | |
| SimpleNormalDistribution (int InDim=0, int Dimension=0) | |
| SimpleNormalDistribution (int InDim, int Dimension, double Alpha, double Mu, double Sigma) | |
| double | LearnProbability (const double *DataCache) |
| Probability that a point belongs to this distribution at learning, unnormalized. | |
| double | NormalizeLearnProbability (double Coef, int nrClus=1) |
| InferProbability is not defined for this distribution. | |
| double | Probability (const double *DataCache) |
| double | NormalizeProbability (double Coef, int nrClus=1) |
| Makes the simple normalization of the probability not more sophisticated version that can be later added. | |
| void | UpdateStatistics (const double *DataCache, double prob) |
| double | UpdateParameters (void) |
| Computes the values of the new parameters from sufficient statistics. | |
| void | UpdateANOVAElements (int &numNonzero, double &SSR, double &n, double &sumS_x_overS, double &sumS_x) |
| void | RandomDistribution (int NrClusters) |
| Random initialization of a distribution. | |
Static Public Member Functions | |
| string | TypeName (void) |
Protected Attributes | |
| double | mu |
| expected value | |
| double | variance |
| the variance of the distribution = sigma^2 | |
| int | dimension |
| the active dimention | |
| int | N |
| number of datapoints | |
| double | S |
| sum of probabilities | |
| double | S_x |
| sum prob*x | |
| double | S_x2 |
| sum prob*x^2 | |
| double | alpha_over_sigma |
| alpha/(sqrt(2PI)*sigma) | |
Definition at line 47 of file simplenormaldistribution.h.
|
||||||||||||
|
Definition at line 75 of file simplenormaldistribution.h. |
|
||||||||||||||||||||||||
|
Definition at line 79 of file simplenormaldistribution.h. |
|
|
Probability that a point belongs to this distribution at learning, unnormalized.
Reimplemented from CLUS::Distribution. Definition at line 86 of file simplenormaldistribution.h. Referenced by Probability(). |
|
||||||||||||
|
InferProbability is not defined for this distribution.
Reimplemented from CLUS::Distribution. Definition at line 97 of file simplenormaldistribution.h. |
|
||||||||||||
|
Makes the simple normalization of the probability not more sophisticated version that can be later added.
Reimplemented from CLUS::Distribution. Definition at line 111 of file simplenormaldistribution.h. |
|
|
Reimplemented from CLUS::Distribution. Definition at line 106 of file simplenormaldistribution.h. |
|
|
Random initialization of a distribution.
Reimplemented from CLUS::Distribution. Definition at line 183 of file simplenormaldistribution.h. |
|
|
Reimplemented from CLUS::Distribution. Definition at line 177 of file simplenormaldistribution.h. |
|
||||||||||||||||||||||||
|
Definition at line 165 of file simplenormaldistribution.h. |
|
|
Computes the values of the new parameters from sufficient statistics.
Reimplemented from CLUS::Distribution. Definition at line 124 of file simplenormaldistribution.h. |
|
||||||||||||
|
Definition at line 116 of file simplenormaldistribution.h. Referenced by NormalizeLearnProbability(). |
|
|
alpha/(sqrt(2PI)*sigma)
Definition at line 72 of file simplenormaldistribution.h. Referenced by LearnProbability(), RandomDistribution(), SimpleNormalDistribution(), and UpdateParameters(). |
|
|
the active dimention
Definition at line 57 of file simplenormaldistribution.h. Referenced by LearnProbability(), SimpleNormalDistribution(), and UpdateStatistics(). |
|
|
expected value
Definition at line 51 of file simplenormaldistribution.h. Referenced by LearnProbability(), RandomDistribution(), SimpleNormalDistribution(), UpdateANOVAElements(), and UpdateParameters(). |
|
|
number of datapoints
Definition at line 60 of file simplenormaldistribution.h. Referenced by SimpleNormalDistribution(), UpdateParameters(), and UpdateStatistics(). |
|
|
sum of probabilities
Definition at line 63 of file simplenormaldistribution.h. Referenced by SimpleNormalDistribution(), UpdateANOVAElements(), UpdateParameters(), and UpdateStatistics(). |
|
|
sum prob*x
Definition at line 66 of file simplenormaldistribution.h. Referenced by SimpleNormalDistribution(), UpdateANOVAElements(), UpdateParameters(), and UpdateStatistics(). |
|
|
sum prob*x^2
Definition at line 69 of file simplenormaldistribution.h. Referenced by SimpleNormalDistribution(), UpdateParameters(), and UpdateStatistics(). |
|
|
the variance of the distribution = sigma^2
Definition at line 54 of file simplenormaldistribution.h. Referenced by LearnProbability(), RandomDistribution(), SimpleNormalDistribution(), UpdateANOVAElements(), and UpdateParameters(). |
1.3.2