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

List of all members.

Public Member Functions

 MembershipMatrix (Clustering foundClustering, ArrayList< DataPoint > points)
int getClusterClassWeight (int i, int j)
int getClusterSum (int i)
int getClassSum (int j)
int getClassDistribution (int j)
int getClusterClassWeightByLabel (int cluster, int classLabel)
int getClassSumByLabel (int classLabel)
int getClassDistributionByLabel (int classLabel)
int getTotalEntries ()
int getNumClasses ()
boolean hasNoiseClass ()
String toString ()
int getInitalBuildTimestamp ()

Package Attributes

HashMap< Integer, Integer > classmap
int cluster_class_weights [][]
int cluster_sums []
int class_sums []
int total_entries
int class_distribution []
int total_class_entries
int initalBuildTimestamp = -1

Detailed Description

Definition at line 29 of file

Constructor & Destructor Documentation

moa.evaluation.MembershipMatrix.MembershipMatrix ( Clustering  foundClustering,
ArrayList< DataPoint points 

Definition at line 40 of file

Here is the call graph for this function:

Member Function Documentation

int moa.evaluation.MembershipMatrix.getClassDistribution ( int  j)

Definition at line 92 of file

int moa.evaluation.MembershipMatrix.getClassDistributionByLabel ( int  classLabel)

Definition at line 104 of file

int moa.evaluation.MembershipMatrix.getClassSum ( int  j)
int moa.evaluation.MembershipMatrix.getClassSumByLabel ( int  classLabel)

Definition at line 100 of file

int moa.evaluation.MembershipMatrix.getClusterClassWeight ( int  i,
int  j 
int moa.evaluation.MembershipMatrix.getClusterClassWeightByLabel ( int  cluster,
int  classLabel 

Definition at line 96 of file

int moa.evaluation.MembershipMatrix.getClusterSum ( int  i)
int moa.evaluation.MembershipMatrix.getInitalBuildTimestamp ( )

Definition at line 147 of file

int moa.evaluation.MembershipMatrix.getNumClasses ( )
int moa.evaluation.MembershipMatrix.getTotalEntries ( )

Definition at line 108 of file

Referenced by moa.evaluation.StatisticalCollection.evaluateClustering(), and moa.evaluation.EntropyCollection.evaluateClustering().

Here is the caller graph for this function:

boolean moa.evaluation.MembershipMatrix.hasNoiseClass ( )

Definition at line 116 of file

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

Here is the caller graph for this function:

String moa.evaluation.MembershipMatrix.toString ( )

Definition at line 121 of file

Member Data Documentation

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