String jobName = String.format("Writing final topic/term distributions from %s to %s", modelInput, output);
log.info("About to run: {}", jobName);
Job job = prepareJob(modelInput, output, SequenceFileInputFormat.class, CVB0TopicTermVectorNormalizerMapper.class,
IntWritable.class, VectorWritable.class, SequenceFileOutputFormat.class, jobName);
job.submit();
return job;
}
private Job writeDocTopicInference(Configuration conf, Path corpus, Path modelInput, Path output)
throws IOException, ClassNotFoundException, InterruptedException {