2012/5/24 Ian Goodfellow <[email protected]>: > A high-level question before I dive in: is libsvm meant to compute > coef_ for us or do we compute it ourselves? If this is a libsvm bug I > should be looking for a bug in libsvm. > > On Thu, May 24, 2012 at 11:47 AM, Alexandre Gramfort > <[email protected]> wrote: >> here is where to look for the bug: >> >> https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/svm/base.py#L543
This link from Alexandre email answers exactly your question: coef_ is a property that is computed from the dual_coef_ attribute which is computed by libsvm in the fit method. -- 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
