#include <multiclasscontinuousdistribution.h>
Inheritance diagram for CLUS::MulticlassContinuousDistribution< T_Distribution >:
Public Member Functions | |
MulticlassContinuousDistribution (int NoClasses, T_Distribution &D) | |
Constructor. | |
virtual void | Infer (const double *cdata, const int *ddata, double *result) |
Infer will use data to produce noClasses normalized probabilities into result. | |
virtual void | MultiplicativeInfer (const double *cdata, const int *ddata, double *result) |
MultiplicativeInfer uses data to produce probabilities and multiplies these probabilities with the ones in result. | |
virtual void | StartLearning (void) |
Prepares the distributions for learning. | |
virtual void | LearnSample (const double *cdata, const int *ddata, int classLabel, double weightSample=1.0) |
Update the sufficient statistics according to the current input. | |
virtual void | LearnSample (const double *cdata, const int *ddata, double *classProbabilities, double weightSample=1.0) |
virtual void | StopLearning (void) |
Uses the sufficient statistics to compute estimates of the parameters of the distribution. | |
virtual double | PValueStatisticalTest (void) |
virtual bool | IsClassLabelAbsent (int index) |
Protected Attributes | |
Vector< T_Distribution > | distributions |
Definition at line 50 of file multiclasscontinuousdistribution.h.
|
Constructor.
Definition at line 62 of file multiclasscontinuousdistribution.h. |
|
Infer will use data to produce noClasses normalized probabilities into result.
Reimplemented from CLUS::MulticlassDistribution. Definition at line 69 of file multiclasscontinuousdistribution.h. |
|
Reimplemented from CLUS::MulticlassDistribution. Definition at line 133 of file multiclasscontinuousdistribution.h. |
|
Definition at line 103 of file multiclasscontinuousdistribution.h. |
|
Update the sufficient statistics according to the current input. Should be used if the class label is known for sure.
Reimplemented from CLUS::MulticlassDistribution. Definition at line 98 of file multiclasscontinuousdistribution.h. |
|
MultiplicativeInfer uses data to produce probabilities and multiplies these probabilities with the ones in result.
Reimplemented from CLUS::MulticlassDistribution. Definition at line 85 of file multiclasscontinuousdistribution.h. |
|
Reimplemented from CLUS::MulticlassDistribution. Definition at line 212 of file simplenormaldistribution.h. |
|
Prepares the distributions for learning.
Reimplemented from CLUS::MulticlassDistribution. Definition at line 92 of file multiclasscontinuousdistribution.h. |
|
Uses the sufficient statistics to compute estimates of the parameters of the distribution.
Reimplemented from CLUS::MulticlassDistribution. Definition at line 111 of file multiclasscontinuousdistribution.h. |
|