26 #ifndef CCLUSTERALGORITHM_H
27 #define CCLUSTERALGORITHM_H
virtual ~CClusterAlgorithm()
virtual void train(CDataset< Type > &tDataset)=0
IO_MODE
Definition: CObject.h:38
CDataset< Type > getReferenceVectors() const
Base class for metrix objects.
Definition: CMetric.h:36
Type rmse(const CDataset< Type > &tDataset) const
CDataset< Type > & referenceVectors()
Euclidean metric object.
Definition: CMetric.h:66
Type nearestNodeDistance(const CVector< Type > &rtPattern) const
int nearestNode(const CVector< Type > &rtPattern) const
CDataset< Type > tReferenceVectors
Definition: CClusterAlgorithm.h:41
templatized vector for numerical applications
Definition: CMatrix.h:39
Base class for all object.
Definition: CObject.h:51
Base class for cluster algorithms.
Definition: CClusterAlgorithm.h:38
CMetric< Type > * ptMetric
Definition: CClusterAlgorithm.h:42
Manages pairs of input and output vectors.
Definition: CDataset.h:110
bool serialize(fstream &stream, IO_MODE mode)
void setMetric(CMetric< Type > *ptMetric)
CClusterAlgorithm(CMetric< Type > *ptMetric=new CEuclideanMetric< Type >())