fabianp / mord

Ordinal regression algorithms
Other
264 stars 70 forks source link

Fix to threshold_proba calculation for predict_proba functions #14

Closed edrogers closed 6 years ago

edrogers commented 6 years ago

I believe I've found a small bug (#13) in the calculation of the threshold-based predict_proba functions. It's a sign error that ends up outputting negative probabilities in some cases. This pull request includes a regression test.

fabianp commented 6 years ago

sorry for the huge delay!