Re: [Scikit-learn-general] Difference between joblib and sklearn.externals import joblib

2013-07-28 Thread Gael Varoquaux
On Sun, Jul 28, 2013 at 08:54:04PM -0400, Josh Wasserstein wrote: > Thanks - I  noticed that dumping a clf with joblib (with either version) > creates multiple files if the clf has run GridSearchCV (one apparently for > each > job in the grid search). Is this expected? Yes. > Any way to change t

Re: [Scikit-learn-general] Difference between joblib and sklearn.externals import joblib

2013-07-28 Thread Josh Wasserstein
Thanks - I noticed that dumping a clf with joblib (with either version) creates multiple files if the clf has run GridSearchCV (one apparently for each job in the grid search). Is this expected? Any way to change this? As a reference, If I save my clf with numpy.savez() I only get one file. Josh

Re: [Scikit-learn-general] Difference between joblib and sklearn.externals import joblib

2013-07-28 Thread Gael Varoquaux
On Sun, Jul 28, 2013 at 08:40:17PM -0400, Josh Wasserstein wrote: > Say I want to dump my classifier (clf) and a few other Python data structures. > Is there any difference between: > import  joblib > and: > from sklearn.externals import joblib Not really. You might not be able to reliably loa

[Scikit-learn-general] Difference between joblib and sklearn.externals import joblib

2013-07-28 Thread Josh Wasserstein
Say I want to dump my classifier (clf) and a few other Python data structures. Is there any difference between: import joblib my_data['clf'] = clf my_data['other_things'] = other_things joblib.dump(my_data, my_data) and: from sklearn.externals import joblib my_data['clf'] = clf my_data['othe