AdaBoost decision stumps
add rope for refactoring
extract method