hi Emeline,

svc.predict and svc.predict_proba > 0.5 may not match

the predict_proba uses a recalibration using Platt's method.

Alex

On Wed, Jun 6, 2012 at 9:42 AM, Emeline Landemaine
<emeline.landema...@gmail.com> wrote:
> Hey!
>
> I'm training a SVM and would like to use predict_proba in order to know with
> which confidence a label is given.
> If predict_proba gives more than 50% for a picture to be in-class, it would
> mean that the picture will be classified as such. However, some pictures
> that have a percentage of 30-35% to be in-class are also predict to be
> in-class by the predict function.
> So, what is the link between the two functions?
>
> Thanks,
>
> Emeline
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to