Class FuzzyKMean
java.lang.Object
jwat.workloadAnalysis.clustering.fuzzyKMean.FuzzyKMean
- All Implemented Interfaces:
Clustering
Fuzzy k-means clustering algorithm of JWAT: each observation belongs to the clusters with given membership degrees.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[][]getAssignment(int clust) getClusteringInfos(int numCluster) intdouble[]getName()intint[]voidsetAssign(int pos, double[][] ass) voidsetEntropy(double[] ent)
-
Constructor Details
-
FuzzyKMean
public FuzzyKMean(int numClust, int[] varSel)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceClustering
-
getClusteringType
public int getClusteringType()- Specified by:
getClusteringTypein interfaceClustering
-
getNumCluster
public int getNumCluster()- Specified by:
getNumClusterin interfaceClustering
-
setAssign
public void setAssign(int pos, double[][] ass) -
setEntropy
public void setEntropy(double[] ent) -
getClusteringInfos
- Specified by:
getClusteringInfosin interfaceClustering
-
getAssignment
public double[][] getAssignment(int clust) -
getVarClust
public int[] getVarClust()- Specified by:
getVarClustin interfaceClustering
-
getEntropy
public double[] getEntropy()
-