Package cc.mallet.cluster
Class Clusterer
- java.lang.Object
-
- cc.mallet.cluster.Clusterer
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
KBestClusterer
,KMeans
public abstract class Clusterer extends java.lang.Object implements java.io.Serializable
An abstract class for clustering a set of points.- Author:
- Jerod Weinman weinman@cs.umass.edu
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Clustering
cluster(InstanceList trainingSet)
Return a clustering of an InstanceListPipe
getPipe()
-
-
-
Constructor Detail
-
Clusterer
public Clusterer(Pipe instancePipe)
Creates a newClusterer
instance.- Parameters:
instancePipe
- Pipe that created the InstanceList to be clustered.
-
-
Method Detail
-
cluster
public abstract Clustering cluster(InstanceList trainingSet)
Return a clustering of an InstanceList
-
getPipe
public Pipe getPipe()
-
-