Fix the decision stumps so that they work on Python 3, and are robust to not seeing a positive or negative examples.