org.apache.mahout.cf.taste.hadoop.slopeone
Class FullRunningAverageAndStdDevWritable
java.lang.Object
org.apache.mahout.cf.taste.hadoop.slopeone.FullRunningAverageAndStdDevWritable
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
public final class FullRunningAverageAndStdDevWritable
- extends Object
- implements org.apache.hadoop.io.Writable
FullRunningAverageAndStdDevWritable
public FullRunningAverageAndStdDevWritable(FullRunningAverageAndStdDev average)
getAverage
public FullRunningAverageAndStdDev getAverage()
toString
public String toString()
- Overrides:
toString
in class Object
write
public void write(DataOutput dataOutput)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
readFields
public void readFields(DataInput dataInput)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.