scikit-learn/scikit-learn — pull request #1409 by enizhibitsky (2012-11-25 19:32:30+00:00)
Title: Fix staged_predict_proba() in gradient_boosting.

This function must be broken because of illegal calling of `_score_to_proba()`:

In `predict_proba` we have line:

return self._score_to_proba(score)

But in `staged_predict_proba` there is:

yield self._score_to_proba(X)

So last line throws exception somewhere saying that two sizes are incompatible (yes, one of them is X[1,:] times bigger than another).