public class CVB0DocInferenceMapper extends CachingCVB0Mapper
Constructor and Description |
---|
CVB0DocInferenceMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
map(org.apache.hadoop.io.IntWritable docId,
VectorWritable doc,
org.apache.hadoop.mapreduce.Mapper.Context context) |
getMaxIters, getModelTrainer, getNumTopics, setup
public void map(org.apache.hadoop.io.IntWritable docId, VectorWritable doc, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class CachingCVB0Mapper
IOException
InterruptedException
protected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context)
cleanup
in class CachingCVB0Mapper
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.