glouppe/scikit-learn — pull request #7 by ndawe (2013-01-06 01:38:48+00:00)
Title: add negative weights test (currently fails)

predict_proba should be valid probabilities between 0 and 1 inclusive.

If leaves are created with negative cumulative weight then elements of predict_proba can be negative or greater than 1. This PR will prevent the splitting from ever creating leaves with negative cumulative weight.