I think I found the answer. The class score can be obtained using
 clf.decision_function(X)

But now it makes me think -
How OneVsRestClassifier approach is different then SGDClassifier?
Is SGDClassifier an optimization algorithm which also uses
 OneVsRestClassifier for classification?




On 24 July 2014 14:12, Alexandre Gramfort <
alexandre.gramf...@telecom-paristech.fr> wrote:

> > So how do I obtain the class probability along with classification?
>
> you help me finish :
>
> https://github.com/scikit-learn/scikit-learn/pull/1176
>
> :)
>
> Alex
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to