AdaBoost and related changes