You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LogisticRegression.predict_proba is incorrect when multiclass='multinomial'. #5134
Looking at the code for LogisticRegression.predict_proba it seems to assume that multiclass='ovr': it does sigmoid(wTx+b) and then normalizes over the classes. I think that when multiclass='multinomial' is used it should use softmax instead.
Activity
agramfort commentedon Aug 19, 2015
MechCoder commentedon Aug 19, 2015
OK, I can fix this up tonight.
jagapiou commentedon Aug 21, 2015
I think this is an issue other places too: e.g. sklearn.lda.LDA.predict_proba
amueller commentedon Aug 24, 2015
Yes, looks to be the case.... argh :-/
MechCoder commentedon Sep 8, 2015
This was fixed