On 02/16/2015 03:58 PM, Vlad Niculae wrote: > > >> 1) Except for the first iteration of grid search, all other times the >> lists I print from within __init__() function are None > I’m not 100% sure but I think this is expected. You are only printing things > from `__init__`, but grid search might end up calling `set_params` on the > same object, rather than building a new one (depends on whether n_jobs > 1?). > Your estimator should support this. This is what always happens, and that is the whole point of ``set_params``. After all, you are passing an object, not a class, and you could have other attributes set. It will always clone the estimator and do "set_params" on it, independent of n_jobs.
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general