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::normModHubertStat Class Reference

Calculates the normalized version of the modified Hubert statistic The index is between -1 and 1. More...

#include <ltiClusteringValidity.h>

Inheritance diagram for lti::normModHubertStat:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 normModHubertStat ()
 normModHubertStat (const normModHubertStat &other)
virtual ~normModHubertStat ()
normModHubertStatcopy (const normModHubertStat &other)
normModHubertStatoperator= (const normModHubertStat &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 normalized version of the modified Hubert statistic The index is between -1 and 1.

A value near 1 shows compact well separated clusters. 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, if the number of cluster is 1 or equal to the number of points


Constructor & Destructor Documentation

lti::normModHubertStat::normModHubertStat  ) 
 

standard contructor

lti::normModHubertStat::normModHubertStat const normModHubertStat other  ) 
 

standard contructor

virtual lti::normModHubertStat::~normModHubertStat  )  [virtual]
 

destructor


Member Function Documentation

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

calculates the normalized modified Hubert Statistics 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::normModHubertStat::clone  )  const [virtual]
 

# returns a pointer to a clone of this functor.

Implements lti::functor.

normModHubertStat& lti::normModHubertStat::copy const normModHubertStat other  ) 
 

copy data of "other" functor.

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

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

returns the name of this type

Reimplemented from lti::clusteringValidity.

normModHubertStat& lti::normModHubertStat::operator= const normModHubertStat 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:10 2005 for LTI-Lib by Doxygen 1.4.4