|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.mine.cluster.fuzzycmeans.FCMQualityMeasures
public class FCMQualityMeasures
Utility class to compute several cluster quality measures based on a Fuzzy c-means clustering.
Constructor Summary | |
---|---|
FCMQualityMeasures(double[][] clustercenters,
double[][] memberships,
double[][] data,
double fuzzifier)
Constructor. |
Method Summary | |
---|---|
double[][] |
computeFuzzyCovarianceMatrix(int cluster)
Computes the fuzzy cobariance matrix of a cluster. |
double |
getBetweenClusterVariation()
Calculates the Between-Cluster Variation. |
double |
getFuzzyHyperVolume(int c)
Computes the Fuzzy HyperVolume for a given cluster. |
double |
getPartitionCoefficient()
The partition coefficient is 1 for non-fuzzy cluster partition. |
double |
getPartitionEntropy()
Partition entropy (should be maximized). |
double[] |
getWithinClusterVariations()
Calculates the Within-Cluster Variation for each cluster. |
double |
getXieBeniIndex()
The Xie-Beni index, also called the compactness and separation validity function, is an index that involves the membership values and the dataset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FCMQualityMeasures(double[][] clustercenters, double[][] memberships, double[][] data, double fuzzifier)
clustercenters
- the clustercenters as 2-dimensional double-array.memberships
- the membership matrix as 2-dimensional double-array.data
- the dataset as 2-dimensional double-array.fuzzifier
- that has been used in the FCM clustering.Method Detail |
---|
public double getPartitionCoefficient()
public double getPartitionEntropy()
public double getXieBeniIndex()
public double[][] computeFuzzyCovarianceMatrix(int cluster)
cluster
- the cluster index.
public double[] getWithinClusterVariations()
public double getBetweenClusterVariation()
public double getFuzzyHyperVolume(int c)
c
- the cluster index to use.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |