thetaSummer.getConfiguration().setBoolean(ThetaMapper.TRAIN_COMPLEMENTARY, trainComplementary);
thetaSummer.waitForCompletion(true);
//validate our model and then write it out to the official output
NaiveBayesModel naiveBayesModel = BayesUtils.readModelFromDir(getTempPath(), getConf());
naiveBayesModel.validate();
naiveBayesModel.serialize(getOutputPath(), getConf());
return 0;
}
private long createLabelIndex(Map<String, String> parsedArgs, Path labPath) throws IOException {