STK++ 0.9.13
|
Base class for clustering models. More...
#include <STK_IClusterModelBase.h>
Public Member Functions | |
virtual | ~IClusterModelBase () |
destructor | |
int | nbCluster () const |
CPointX const & | pk () const |
CVectorXi const & | zi () const |
![]() | |
int | nbSample () const |
Real | lnNbSample () const |
int | nbVariable () const |
Real | lnLikelihood () const |
Real | likelihood () const |
int | nbFreeParameter () const |
Real | computeBIC () const |
Real | computeAIC () const |
Real | computeML () const |
Protected Member Functions | |
IClusterModelBase (int nbCluster) | |
Constructor. | |
IClusterModelBase (int nbSample, int nbCluster) | |
Constructor. | |
IClusterModelBase (IClusterModelBase const &model) | |
copy constructor. | |
void | setNbCluster (int nbCluster) |
set the number of cluster of the model | |
![]() | |
IStatModelBase () | |
Default constructor. | |
IStatModelBase (int nbSample) | |
Constructor with specified dimension. | |
IStatModelBase (int nbSample, int nbVariable) | |
Constructor with specified dimension. | |
IStatModelBase (IStatModelBase const &model) | |
Copy constructor. | |
~IStatModelBase () | |
destructor | |
void | setNbFreeParameter (int const &nbFreeParameter) |
set the number of free parameters of the model | |
void | setNbSample (int const &nbSample) |
set the number of samples of the model | |
void | setNbVariable (int const &nbVariable) |
set the number of variables of the model | |
void | setLnLikelihood (Real const &lnLikelihood) |
set the log-likelihood of the model | |
void | initialize (int nbSample, int nbVariable) |
set the dimensions of the parameters of the model | |
Protected Attributes | |
int | nbCluster_ |
number of cluster. | |
CPointX | pk_ |
The proportions of each mixtures. | |
CVectorXi | zi_ |
The zi class label. | |
Base class for clustering models.
Cluster analysis or clustering is the task of grouping a set of objects in such a way that objects in the same group (called a cluster) are more similar (in some sense or another) to each other than to those in other groups (clusters). It is a main task of exploratory data mining, and a common technique for statistical data analysis, used in many fields, including machine learning, pattern recognition, image analysis, information retrieval, bioinformatics, data compression, and computer graphics.
Cluster analysis itself is not one specific algorithm, but the general task to be solved. It can be achieved by various algorithms that differ significantly in their notion of what constitutes a cluster and how to efficiently find them. Popular notions of clusters include groups with small distances among the cluster members, dense areas of the data space, intervals or particular statistical distributions. Clustering can therefore be formulated as a multi-objective optimization problem. The appropriate clustering algorithm and parameter settings (including values such as the distance function to use, a density threshold or the number of expected clusters) depend on the individual data set and intended use of the results. Cluster analysis as such is not an automatic task, but an iterative process of knowledge discovery or interactive multi-objective optimization that involves trial and failure. It is often necessary to modify data preprocessing and model parameters until the result achieves the desired properties.
Definition at line 75 of file STK_IClusterModelBase.h.
|
protected |
Constructor.
nbCluster | number of clusters |
Constructor.
nbCluster,nbSample | number of clusters and samples |
|
protected |
copy constructor.
model | the model to clone |
|
virtual |
destructor
|
inline |
Definition at line 96 of file STK_IClusterModelBase.h.
References nbCluster_.
Referenced by setNbCluster().
Definition at line 98 of file STK_IClusterModelBase.h.
References pk_.
set the number of cluster of the model
nbCluster | number of cluster of the model |
Definition at line 106 of file STK_IClusterModelBase.h.
References nbCluster(), and nbCluster_.
|
protected |
number of cluster.
Definition at line 108 of file STK_IClusterModelBase.h.
Referenced by nbCluster(), and setNbCluster().
|
protected |
The proportions of each mixtures.
Definition at line 110 of file STK_IClusterModelBase.h.
Referenced by pk().
|
protected |