org.apache.mahout.clustering.iterator
Class MeanShiftClusteringPolicy

java.lang.Object
  extended by org.apache.mahout.clustering.iterator.AbstractClusteringPolicy
      extended by org.apache.mahout.clustering.iterator.MeanShiftClusteringPolicy
All Implemented Interfaces:
org.apache.hadoop.io.Writable, ClusteringPolicy

public class MeanShiftClusteringPolicy
extends AbstractClusteringPolicy

This is a simple maximum likelihood clustering policy, suitable for k-means clustering


Constructor Summary
MeanShiftClusteringPolicy()
           
 
Method Summary
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class org.apache.mahout.clustering.iterator.AbstractClusteringPolicy
classify, close, select, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeanShiftClusteringPolicy

public MeanShiftClusteringPolicy()
Method Detail

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Specified by:
write in class AbstractClusteringPolicy
Throws:
IOException

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Specified by:
readFields in class AbstractClusteringPolicy
Throws:
IOException


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.