Wrote code for prediction using log-likelihood ratios