BayesTfIdfDriver tfidf = new BayesTfIdfDriver();
tfidf.runJob(input, output,params);
log.info("Calculating weight sums for labels and features...");
//Calculate the Sums of weights for each label, for each feature and for each feature and for each label
BayesWeightSummerDriver summer = new BayesWeightSummerDriver();
summer.runJob(input, output, params);
log.info("Calculating the weight Normalisation factor for each complement class...");
//Calculate the normalization factor Sigma_W_ij for each complement class.
CBayesThetaNormalizerDriver normalizer = new CBayesThetaNormalizerDriver();
normalizer.runJob(input, output, params);