Package moa.evaluation
Class MembershipMatrix
- java.lang.Object
-
- moa.evaluation.MembershipMatrix
-
public class MembershipMatrix extends Object
-
-
Constructor Summary
Constructors Constructor Description MembershipMatrix(Clustering foundClustering, ArrayList<DataPoint> points)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getClassDistribution(int j)
int
getClassDistributionByLabel(int classLabel)
int
getClassSum(int j)
int
getClassSumByLabel(int classLabel)
int
getClusterClassWeight(int i, int j)
int
getClusterClassWeightByLabel(int cluster, int classLabel)
int
getClusterSum(int i)
int
getInitalBuildTimestamp()
int
getNumClasses()
int
getTotalEntries()
boolean
hasNoiseClass()
String
toString()
-
-
-
Constructor Detail
-
MembershipMatrix
public MembershipMatrix(Clustering foundClustering, ArrayList<DataPoint> points)
-
-
Method Detail
-
getClusterClassWeight
public int getClusterClassWeight(int i, int j)
-
getClusterSum
public int getClusterSum(int i)
-
getClassSum
public int getClassSum(int j)
-
getClassDistribution
public int getClassDistribution(int j)
-
getClusterClassWeightByLabel
public int getClusterClassWeightByLabel(int cluster, int classLabel)
-
getClassSumByLabel
public int getClassSumByLabel(int classLabel)
-
getClassDistributionByLabel
public int getClassDistributionByLabel(int classLabel)
-
getTotalEntries
public int getTotalEntries()
-
getNumClasses
public int getNumClasses()
-
hasNoiseClass
public boolean hasNoiseClass()
-
getInitalBuildTimestamp
public int getInitalBuildTimestamp()
-
-