A java classification framework implementing Adaboost and Naive Bayes