2012/6/5 Jaques Grobler <[email protected]>:
> I'm not that clued up about this specifically, but I'd think that using
> the `class_weight` parameter for the svm classifier in sklearn should
> achieve this.

Yes class_weight should be able to address that. Not all classifiers
support it though, please check the docstrings.

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
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