Dear Mathias.
Which version of sklearn to you have?
The "cache_size" argument was removed at some point and reintroduced later.

Cheers,
Andy

On 01/27/2012 02:29 PM, Mathias Verbeke wrote:
Dear all,

When I want to set the cache_size of an SVM, using

clf = svm.SVC(cache_size=200.0)

I get: TypeError: __init__() got an unexpected keyword argument 'cache_size', althought this should be possible according to the documentation.

What am I doing wrong here? Or isn't this possible anymore via the constructor?

Best and thanks,

Mathias


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2


_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to