MOA 12.03
Real Time Analytics for Data Streams
|
Represents a collection of clusters. More...
Public Member Functions | |
Clustering () | |
Clustering (Cluster[] clusters) | |
Clustering (List<?extends Instance > points) | |
Clustering (ArrayList< DataPoint > points, double overlapThreshold, int initMinPoints) | |
Clustering (AutoExpandVector< Cluster > clusters) | |
void | add (Cluster cluster) |
add a cluster to the clustering | |
void | remove (int index) |
remove a cluster from the clustering | |
Cluster | get (int index) |
remove a cluster from the clustering | |
AutoExpandVector< Cluster > | getClustering () |
AutoExpandVector< Cluster > | getClusteringCopy () |
int | size () |
int | dimension () |
void | getDescription (StringBuilder sb, int i) |
Returns a string representation of this object. | |
double | getMaxInclusionProbability (Instance point) |
Static Public Member Functions | |
static HashMap< Integer, Integer > | classValues (List<?extends Instance > points) |
Represents a collection of clusters.
Definition at line 34 of file Clustering.java.
moa.cluster.Clustering.Clustering | ( | ) |
Definition at line 38 of file Clustering.java.
moa.cluster.Clustering.Clustering | ( | Cluster[] | clusters | ) |
Definition at line 42 of file Clustering.java.
moa.cluster.Clustering.Clustering | ( | List<?extends Instance > | points | ) |
moa.cluster.Clustering.Clustering | ( | ArrayList< DataPoint > | points, |
double | overlapThreshold, | ||
int | initMinPoints | ||
) |
moa.cluster.Clustering.Clustering | ( | AutoExpandVector< Cluster > | clusters | ) |
Definition at line 188 of file Clustering.java.
void moa.cluster.Clustering.add | ( | Cluster | cluster | ) |
add a cluster to the clustering
Definition at line 196 of file Clustering.java.
Referenced by moa.clusterers.KMeans.gaussianMeans(), moa.clusterers.clustree.ClusTree.getClustering(), moa.clusterers.streamkm.StreamKM.getClusteringResult(), moa.streams.clustering.RandomRBFGeneratorEvents.getGeneratingClusters(), moa.streams.clustering.RandomRBFGeneratorEvents.getMicroClustering(), moa.clusterers.denstream.DenStream.initialDBScan(), and moa.clusterers.clustream.Clustream.kMeans().
static HashMap<Integer, Integer> moa.cluster.Clustering.classValues | ( | List<?extends Instance > | points | ) | [static] |
points |
Definition at line 167 of file Clustering.java.
Referenced by moa.cluster.Clustering.Clustering(), and moa.evaluation.MembershipMatrix.MembershipMatrix().
int moa.cluster.Clustering.dimension | ( | ) |
Definition at line 244 of file Clustering.java.
Cluster moa.cluster.Clustering.get | ( | int | index | ) |
remove a cluster from the clustering
Definition at line 212 of file Clustering.java.
Referenced by moa.evaluation.StatisticalCollection.cindex(), moa.evaluation.CMM_GTAnalysis.CMM_GTAnalysis(), moa.evaluation.SSQ.evaluateClustering(), moa.evaluation.SilhouetteCoefficient.evaluateClustering(), moa.evaluation.General.evaluateClustering(), moa.evaluation.F1.evaluateClustering(), moa.clusterers.KMeans.gaussianMeans(), moa.evaluation.CMM_GTAnalysis.getModelQuality(), moa.evaluation.MembershipMatrix.MembershipMatrix(), and moa.gui.visualization.RunVisualizer.weka().
AutoExpandVector<Cluster> moa.cluster.Clustering.getClustering | ( | ) |
Clustering
as an AutoExpandVector Definition at line 222 of file Clustering.java.
Referenced by moa.clusterers.denstream.DenStream.trainOnInstanceImpl().
AutoExpandVector<Cluster> moa.cluster.Clustering.getClusteringCopy | ( | ) |
Clustering
as an AutoExpandVector Definition at line 229 of file Clustering.java.
void moa.cluster.Clustering.getDescription | ( | StringBuilder | sb, |
int | indent | ||
) |
Returns a string representation of this object.
Used in AbstractMOAObject.toString
to give a string representation of the object.
sb | the stringbuilder to add the description |
indent | the number of characters to indent |
Implements moa.MOAObject.
Definition at line 250 of file Clustering.java.
double moa.cluster.Clustering.getMaxInclusionProbability | ( | Instance | point | ) |
Definition at line 256 of file Clustering.java.
void moa.cluster.Clustering.remove | ( | int | index | ) |
remove a cluster from the clustering
Definition at line 203 of file Clustering.java.
int moa.cluster.Clustering.size | ( | ) |
Definition at line 237 of file Clustering.java.
Referenced by moa.evaluation.StatisticalCollection.cindex(), moa.cluster.Clustering.Clustering(), moa.evaluation.CMM_GTAnalysis.CMM_GTAnalysis(), moa.gui.visualization.RunVisualizer.drawClusterings(), moa.evaluation.SSQ.evaluateClustering(), moa.evaluation.SilhouetteCoefficient.evaluateClustering(), moa.evaluation.General.evaluateClustering(), moa.evaluation.F1.evaluateClustering(), moa.evaluation.CMM.evaluateClustering(), moa.clusterers.KMeans.gaussianMeans(), moa.clusterers.CobWeb.getClusteringResult(), moa.evaluation.MembershipMatrix.MembershipMatrix(), moa.clusterers.clustream.Clustream.trainOnInstanceImpl(), and moa.gui.visualization.RunVisualizer.weka().