public class CMM_GTAnalysis extends Object
Modifier and Type | Class and Description |
---|---|
protected class |
CMM_GTAnalysis.CMMPoint
Wrapper class for data points to store CMM relevant attributes
|
protected class |
CMM_GTAnalysis.GTCluster
Main class to model the new clusters that will be the output of the cluster analysis
|
Constructor and Description |
---|
CMM_GTAnalysis(Clustering trueClustering,
ArrayList<DataPoint> points,
boolean enableClassMerge) |
Modifier and Type | Method and Description |
---|---|
double |
getClassSeparability()
Calculates how well the original clusters are separable.
|
protected double |
getConnectionValue(CMM_GTAnalysis.CMMPoint cmmp,
int clusterID)
Calculate the connection of a point to a cluster
|
protected CMM_GTAnalysis.GTCluster |
getGT0Cluster(int index)
Return cluster
|
double |
getModelQuality()
Calculates the relative number of errors being caused by the underlying cluster model
|
double |
getNoiseSeparability()
Calculates how well noise is separable from the given clusters
Small values indicate bad separability, values close to 1 indicate good separability
|
protected int |
getNumberOfGT0Classes()
Number of classes/clusters of the new clustering
|
String |
getParameterString()
String with main CMM parameters
|
protected CMM_GTAnalysis.CMMPoint |
getPoint(int index)
Get CMM internal point
|
public CMM_GTAnalysis(Clustering trueClustering, ArrayList<DataPoint> points, boolean enableClassMerge)
trueClustering
- the ground truth clusteringpoints
- data pointsenableClassMerge
- allow class merging (should be set to true on default)protected double getConnectionValue(CMM_GTAnalysis.CMMPoint cmmp, int clusterID)
cmmp
- the point to calculate the connection forclusterID
- the corresponding clusterpublic double getClassSeparability()
public double getNoiseSeparability()
public double getModelQuality()
protected CMM_GTAnalysis.CMMPoint getPoint(int index)
index
- of the pointprotected CMM_GTAnalysis.GTCluster getGT0Cluster(int index)
index
- of the cluster to returnprotected int getNumberOfGT0Classes()
public String getParameterString()
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.