Hi.
The decision_function 
(http://scikit-learn.org/dev/modules/generated/sklearn.svm.SVC.html#sklearn.svm.SVC.decision_function)
  should give you what you want.

Best,
Andy

----- Ursprüngliche Mail -----
Von: "abdalrahman eweiwi" <[email protected]>
An: [email protected]
Gesendet: Mittwoch, 1. August 2012 11:50:47
Betreff: [Scikit-learn-general] Getting the classification confidence of the    
SVC in sklearn



Hi all, 

Is there a direct way to obtain the distance from the SVM seperating 
hyperplance to a test sample in sklearn? if no? Could you please direct me to 
the parameters I need in sklearn to obtain this distance? 

Thanks 

A.Eweiwi 


------------------------------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to