On Sun, Nov 6, 2011 at 11:44 PM, Lars Buitinck <[email protected]> wrote:
> One solution is to clone(best_estimator) at grid_search.py, before > line 341 (in the if self.refit block). Currently, the code assumes > that a fit estimator can simply be re-fit on a new dataset, which is > not true of sparse SVMs due to the ndarray.resize calls (and probably > not of my NB estimators either, since I hadn't considered this > possibility). I would personally prefer if all estimators in scikit-learn could be refitted. This is what I would expect from a batch fit method. Mathieu ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
