public class SolveExplicitFeedbackMapper extends SharingMapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable,OpenIntObjectHashMap<Vector>>
Constructor and Description |
---|
SolveExplicitFeedbackMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
map(org.apache.hadoop.io.IntWritable userOrItemID,
VectorWritable ratingsWritable,
org.apache.hadoop.mapreduce.Mapper.Context ctx) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context ctx) |
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context ctx) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>
IOException
InterruptedException
protected void map(org.apache.hadoop.io.IntWritable userOrItemID, VectorWritable ratingsWritable, org.apache.hadoop.mapreduce.Mapper.Context ctx) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>
IOException
InterruptedException
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.