org.apache.mahout.clustering.fuzzykmeans
Class FuzzyKMeansOutput

java.lang.Object
  extended by org.apache.mahout.clustering.fuzzykmeans.FuzzyKMeansOutput
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public class FuzzyKMeansOutput
extends java.lang.Object
implements org.apache.hadoop.io.Writable


Constructor Summary
FuzzyKMeansOutput()
           
FuzzyKMeansOutput(int size)
           
 
Method Summary
 void add(int i, SoftCluster softCluster, double probWeight)
           
 SoftCluster[] getClusters()
           
 double[] getProbabilities()
           
 void readFields(java.io.DataInput in)
           
 void write(java.io.DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FuzzyKMeansOutput

public FuzzyKMeansOutput()

FuzzyKMeansOutput

public FuzzyKMeansOutput(int size)
Method Detail

getClusters

public SoftCluster[] getClusters()

getProbabilities

public double[] getProbabilities()

add

public void add(int i,
                SoftCluster softCluster,
                double probWeight)

write

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

readFields

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


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