org.apache.mahout.cf.taste.hadoop.als
Class PredictionJob.FeaturesMapper
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,TaggedVarIntWritable,VectorWithIndexWritable>
org.apache.mahout.cf.taste.hadoop.als.PredictionJob.FeaturesMapper
- Enclosing class:
- PredictionJob
public static class PredictionJob.FeaturesMapper
- extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,TaggedVarIntWritable,VectorWithIndexWritable>
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper |
org.apache.hadoop.mapreduce.Mapper.Context |
Method Summary |
protected void |
map(org.apache.hadoop.io.IntWritable id,
VectorWritable features,
org.apache.hadoop.mapreduce.Mapper.Context ctx)
|
Methods inherited from class org.apache.hadoop.mapreduce.Mapper |
cleanup, run, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PredictionJob.FeaturesMapper
public PredictionJob.FeaturesMapper()
map
protected void map(org.apache.hadoop.io.IntWritable id,
VectorWritable features,
org.apache.hadoop.mapreduce.Mapper.Context ctx)
throws IOException,
InterruptedException
- Overrides:
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,TaggedVarIntWritable,VectorWithIndexWritable>
- Throws:
IOException
InterruptedException
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.