1 #ifndef MMSD_GaussianCluster_H
2 #define MMSD_GaussianCluster_H
34 SP::MMSD_GaussianFDFunction mFunction;
36 SP::MATH_Equation mSolver;
65 static inline SP::MMSD_GaussianCluster
New() {
80 return *mSolver.get();
85 return *mFunction.get();
This class is a gaussian cluster which is a specialization of MMSD_Cluster.
Definition: MMSD_GaussianCluster.h:25
virtual void computeMultivariateDensity(const MMSD_DoubleFullMatrix &YP, const MMSD_DoubleFullMatrix &P, const MMSD_DoubleVector &D, const MMSD_DoubleVector &mean, const MMSD_DoubleVector &nu, double *Pk) const
compute the probabities of samples to be in cluster This from law, freedom degrees & weights ...
Definition: MMSD_GaussianCluster.cpp:26
virtual void updateWeights(const MMSD_DoubleFullMatrix &YP, const MMSD_DoubleFullMatrix &P, const MMSD_DoubleVector &Diag, const MMSD_DoubleVector &mean, const MMSD_DoubleVector &nus, const MMSD_DoubleVector &probs, MMSD_DoubleFullMatrix &W) const
compute the weights from law, freedom degrees & probabilites
Definition: MMSD_GaussianCluster.cpp:100
MATH_Equation & getSolver()
get the solver
Definition: MMSD_GaussianCluster.h:79
This class describes the FullMatrix class.
Definition: MMSD_DoubleFullMatrix.h:17
virtual tString toString() const
turn the class into string
Definition: MMSD_Cluster.h:351
MMSD_GaussianCluster(void)
create an object
Definition: MMSD_GaussianCluster.cpp:7
static SP::MMSD_GaussianCluster New()
create a new instance of cluster
Definition: MMSD_GaussianCluster.h:65
DEFINE_SPTR(MMSD_GaussianCluster)
DEFINE_SVPTR(MMSD_GaussianCluster)
Definition: MMSD_DoubleVector.h:16
This class solve the equation f(x)=0.
Definition: MATH_Equation.h:21
MMSD_GaussianFDFunction & getFunction()
get the function to find zero
Definition: MMSD_GaussianCluster.h:84
virtual tString toString() const
turn the class into string
Definition: MMSD_GaussianCluster.h:171
This class describes the function used in MMSD_GaussianCluster::updateFreedomDegrees() ...
Definition: MMSD_GaussianFDFunction.h:16
virtual ~MMSD_GaussianCluster(void)
destroy an object.
Definition: MMSD_GaussianCluster.cpp:22
#define tString
Definition: types.h:49
This class is a geneal MMSD Cluster.
Definition: MMSD_Cluster.h:36
virtual void updateFreedomDegrees(const MMSD_DoubleFullMatrix &W, const MMSD_DoubleVector &Probs, const double &maxFD, MMSD_DoubleVector &nu)
update the freedom degrees from weights & probabilities.
Definition: MMSD_GaussianCluster.cpp:199
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106