org.apache.mahout.utils.eval
Class ParallelFactorizationEvaluator.ErrorReducer
java.lang.Object
org.apache.hadoop.mapreduce.Reducer<IntPairWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.NullWritable>
org.apache.mahout.utils.eval.ParallelFactorizationEvaluator.ErrorReducer
- Enclosing class:
- ParallelFactorizationEvaluator
public static class ParallelFactorizationEvaluator.ErrorReducer
- extends org.apache.hadoop.mapreduce.Reducer<IntPairWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.NullWritable>
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer |
org.apache.hadoop.mapreduce.Reducer.Context |
Method Summary |
protected void |
reduce(IntPairWritable key,
Iterable<org.apache.hadoop.io.DoubleWritable> ratingAndEstimate,
org.apache.hadoop.mapreduce.Reducer.Context ctx)
|
Methods inherited from class org.apache.hadoop.mapreduce.Reducer |
cleanup, run, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParallelFactorizationEvaluator.ErrorReducer
public ParallelFactorizationEvaluator.ErrorReducer()
reduce
protected void reduce(IntPairWritable key,
Iterable<org.apache.hadoop.io.DoubleWritable> ratingAndEstimate,
org.apache.hadoop.mapreduce.Reducer.Context ctx)
throws IOException,
InterruptedException
- Overrides:
reduce
in class org.apache.hadoop.mapreduce.Reducer<IntPairWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.NullWritable>
- Throws:
IOException
InterruptedException
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.