cc.mallet.cluster
Class Clusterer

java.lang.Object
  extended by 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

Constructor Summary
Clusterer(Pipe instancePipe)
          Creates a new Clusterer instance.
 
Method Summary
abstract  Clustering cluster(InstanceList trainingSet)
          Return a clustering of an InstanceList
 Pipe getPipe()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Clusterer

public Clusterer(Pipe instancePipe)
Creates a new Clusterer 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()