Ensemble methods: bagging, boosting and stacking