> clf2 = svm.SVC(best_para_)   #clf2 with best parameters 
> But this does not work.

You could try 'svm.SVC.(**best_params_)'

See http://stackoverflow.com/questions/3394835/args-and-kwargs


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck®
Code Sight™ - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to