Update BoostingAlgorithm.java