Fixed for issue 3815.

Discrete AdaBoostClassifier now fails early if the base classifier if worse than random.