MOA 12.03
Real Time Analytics for Data Streams
moa.evaluation.CMM_GTAnalysis Class Reference
Collaboration diagram for moa.evaluation.CMM_GTAnalysis:

List of all members.

Classes

class  CMMPoint
 Wrapper class for data points to store CMM relevant attributes. More...
class  GTCluster
 Main class to model the new clusters that will be the output of the cluster analysis. More...

Public Member Functions

 CMM_GTAnalysis (Clustering trueClustering, ArrayList< DataPoint > points, boolean enableClassMerge)
double getClassSeparability ()
 Calculates how well the original clusters are separable.
double getNoiseSeparability ()
 Calculates how well noise is separable from the given clusters Small values indicate bad separability, values close to 1 indicate good separability.
double getModelQuality ()
 Calculates the relative number of errors being caused by the underlying cluster model.
String getParameterString ()
 String with main CMM parameters.

Protected Member Functions

double getConnectionValue (CMMPoint cmmp, int clusterID)
 Calculate the connection of a point to a cluster.
CMMPoint getPoint (int index)
 Get CMM internal point.
GTCluster getGT0Cluster (int index)
 Return cluster.
int getNumberOfGT0Classes ()
 Number of classes/clusters of the new clustering.

Detailed Description

Definition at line 56 of file CMM_GTAnalysis.java.


Constructor & Destructor Documentation

moa.evaluation.CMM_GTAnalysis.CMM_GTAnalysis ( Clustering  trueClustering,
ArrayList< DataPoint points,
boolean  enableClassMerge 
)
Parameters:
trueClusteringthe ground truth clustering
pointsdata points
enableClassMergeallow class merging (should be set to true on default)

Definition at line 473 of file CMM_GTAnalysis.java.

Here is the call graph for this function:


Member Function Documentation

double moa.evaluation.CMM_GTAnalysis.getClassSeparability ( )

Calculates how well the original clusters are separable.

Small values indicate bad separability, values close to 1 indicate good separability

Returns:
index of seperability

Definition at line 709 of file CMM_GTAnalysis.java.

Referenced by moa.evaluation.CMM.evaluateClustering().

Here is the caller graph for this function:

double moa.evaluation.CMM_GTAnalysis.getConnectionValue ( CMMPoint  cmmp,
int  clusterID 
) [protected]

Calculate the connection of a point to a cluster.

Parameters:
cmmpthe point to calculate the connection for
clusterIDthe corresponding cluster
Returns:
the connection value

Definition at line 559 of file CMM_GTAnalysis.java.

Referenced by moa.evaluation.CMM_GTAnalysis.getNoiseSeparability().

Here is the call graph for this function:

Here is the caller graph for this function:

GTCluster moa.evaluation.CMM_GTAnalysis.getGT0Cluster ( int  index) [protected]

Return cluster.

Parameters:
indexof the cluster to return
Returns:
cluster

Definition at line 795 of file CMM_GTAnalysis.java.

double moa.evaluation.CMM_GTAnalysis.getModelQuality ( )

Calculates the relative number of errors being caused by the underlying cluster model.

Returns:
quality of the model

Definition at line 758 of file CMM_GTAnalysis.java.

Referenced by moa.evaluation.CMM.evaluateClustering().

Here is the call graph for this function:

Here is the caller graph for this function:

double moa.evaluation.CMM_GTAnalysis.getNoiseSeparability ( )

Calculates how well noise is separable from the given clusters Small values indicate bad separability, values close to 1 indicate good separability.

Returns:
index of noise separability

Definition at line 731 of file CMM_GTAnalysis.java.

Referenced by moa.evaluation.CMM.evaluateClustering().

Here is the call graph for this function:

Here is the caller graph for this function:

int moa.evaluation.CMM_GTAnalysis.getNumberOfGT0Classes ( ) [protected]

Number of classes/clusters of the new clustering.

Returns:
number of new clusters

Definition at line 803 of file CMM_GTAnalysis.java.

Referenced by moa.evaluation.CMM.evaluateClustering().

Here is the caller graph for this function:

String moa.evaluation.CMM_GTAnalysis.getParameterString ( )

String with main CMM parameters.

Returns:
main CMM parameter

Definition at line 837 of file CMM_GTAnalysis.java.

Referenced by moa.evaluation.CMM.getParameterString().

Here is the caller graph for this function:

CMMPoint moa.evaluation.CMM_GTAnalysis.getPoint ( int  index) [protected]

Get CMM internal point.

Parameters:
indexof the point
Returns:
cmm point

Definition at line 785 of file CMM_GTAnalysis.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations