Hi, You can inject your fit params using the `fit_params` parameter in GridSearchCV.
Gilles On 3 February 2012 13:59, Mathias Verbeke <[email protected]> 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. > > Thanks a lot, > > 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 > ------------------------------------------------------------------------------ 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
