2011/10/28 Alexandre Gramfort <[email protected]>: > indeed you just need to define a new CV object of length 1 > > maybe be worth adding to cross_validation.py > > class SingleSplit? > > cv = SingleSplit(X_train, y_train, X_test, y_test) ?
Yes but that won't be natural to use with GridSearchCV where you pass the data as argument to the fit method of the GridSearchCV object. -- 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
