2011/10/28 Gael Varoquaux <[email protected]>: > On Fri, Oct 28, 2011 at 04:17:01PM +0200, Olivier Grisel wrote: >> > I am actually not sure that I have understood the usecase that we are >> > discussing. > >> I think the use case is performing a grid search for a single >> predefined train / validation datasets pair. > > scores = [estimator.set_param(param=param > ).fit(X_train, y_train > ).score(X_test, y_test) > for param in param_list] > > If you want to use joblib.Parallel there is a little bit more work, and > the most pragmatic solution is to define a helper function.
Fair enough, but the user should also be aware of the API that turns a param grid (a dict of sequences) into an iterable param_list as done in GridSearchCV. -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
