LTI-Lib latest version v1.9 - last update 24 Nov 2005
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

lti::modHubertStat Class Reference

Calculates the modified Hubert statistic of the given clustering. More...

#include <ltiClusteringValidity.h>

Inheritance diagram for lti::modHubertStat:

Inheritance graph
[legend]
Collaboration diagram for lti::modHubertStat:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 modHubertStat ()
 modHubertStat (const modHubertStat &other)
virtual ~modHubertStat ()
modHubertStatcopy (const modHubertStat &other)
modHubertStatoperator= (const modHubertStat &other)
virtual const char * getTypeName () const
virtual functorclone () const
virtual bool apply (const std::vector< dmatrix > &clusteredData, double &index, const dmatrix &centroids) const

Detailed Description

Calculates the modified Hubert statistic of the given clustering.

When the same data set is tested with different parameters, e.a. with different number of clusters, the best possible clustering is shown by a sharp knee in this index.

This validity measure is not defined for one cluster or if the number of clusters is equal the the number of points


Constructor & Destructor Documentation

lti::modHubertStat::modHubertStat  ) 
 

standard contructor

lti::modHubertStat::modHubertStat const modHubertStat other  ) 
 

standard contructor

virtual lti::modHubertStat::~modHubertStat  )  [virtual]
 

destructor


Member Function Documentation

virtual bool lti::modHubertStat::apply const std::vector< dmatrix > &  clusteredData,
double &  index,
const dmatrix centroids
const [virtual]
 

calculates the Dunn Index of the clustered Data

Parameters:
clusteredData std::vector<dmatrix> with the source data.
index the clustering validity result
centroids dmatrix with each row representing a centroid of the corresponding distribution in clusteredData
Returns:
true if apply successful or false otherwise.

Implements lti::clusteringValidity.

virtual functor* lti::modHubertStat::clone  )  const [virtual]
 

returns a pointer to a clone of this functor.

Implements lti::functor.

modHubertStat& lti::modHubertStat::copy const modHubertStat other  ) 
 

copy data of "other" functor.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

virtual const char* lti::modHubertStat::getTypeName  )  const [virtual]
 

returns the name of this type

Reimplemented from lti::clusteringValidity.

modHubertStat& lti::modHubertStat::operator= const modHubertStat other  ) 
 

alias for copy member

Parameters:
other the functor to be copied
Returns:
a reference to this functor object


The documentation for this class was generated from the following file:
Generated on Thu Nov 24 16:31:09 2005 for LTI-Lib by Doxygen 1.4.4