2012/2/14 David Warde-Farley <[email protected]>:
> On Tue, Feb 14, 2012 at 10:54:34PM +0100, Alexandre Gramfort wrote:
>> hi Ian,
>>
>> yes you're right, however the dev version should be up to date:
>>
>> http://scikit-learn.org/dev/modules/svm.html#svc
>>
>> see note on scale_C parameter.
>
> Relatedly, on the subject of comparing SVM implementations, is there a way to
> get access to the value of the cost function upon fitting termination?

Unfortunately libsvm does not provides this in its public API
(svm_train). However it is computed internally in the SolverInfo
structure which is allocated by the svm_train_one function.

It should be printed on stdout using the info function at the end of
the fitting process though. By reading the wrapper code I cannot find
where the libsvm info output is disabled in scikit-learn. It would be
great to be able to turn it on using a verbose flag for instance.

Fabian: any idea on how to do that?

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

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to