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, setuppublic void map(org.apache.hadoop.io.IntWritable docId,
VectorWritable doc,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
map in class CachingCVB0MapperIOExceptionInterruptedExceptionprotected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context)
cleanup in class CachingCVB0MapperCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.