On 12/03/2012 09:39 PM, Afik Cohen wrote:
> No, we aren't doing multi-label classification, just multiclass. He was saying
> we could just use SGDClassifier directly, which is true, but AFAIK there is no
> way to get good prediction probability outputs on a per-class basis unless you
> train binary classifiers by wrapping it in a OneVsRestClassifier() call... or
> is there?
Hm it seems that the predict_proba is not implemented for multi-class.
I thought someone had done that already, sorry.

It does train OVR and you can just take the sigmoid of the decision function
and than normalize.
Not sure why that is not implemented, I think we could basically
copy and paste that from logistic regression.

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to