fixed BernoulliClassifier.java