On 02/03/2012 01:59 PM, Mathias Verbeke wrote:
Hi Andreas,

    You would have to add it to the "fit" method of SVC, not GridSearchCV.


How can this be done in the digits example, since there's only one fit there, namely the one of GridSearch?

    > Does this mean class weighting isn't possible at all with
    GridSearch?
    At the moment, yes.

    If this is very important to you, I might be able to fix it this
    weekend.
    No promise, though.
    You would have to use the github version then.

That would be great! I'm already using the github version, so no problem.
This should do the trick:
https://github.com/scikit-learn/scikit-learn/pull/610

Cheers,
Andy
------------------------------------------------------------------------------
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