Probability-Weighted Ensemble Classification - Coding problem | OneNoughtOne