Re: [Scikit-learn-general] cpickle a model

2013-01-04 Thread Andreas Mueller
On 01/04/2013 05:51 PM, paul.czodrow...@merckgroup.com wrote: Dear Andreas, thanks for your reply. Strangely enough, I'm getting different results after loading in the model. Below are my code snippets. The data source is of course identical. I will investigate it on that issue further, but

Re: [Scikit-learn-general] cpickle a model

2013-01-04 Thread Paul . Czodrowski
Dear Andreas, thanks for your reply. Strangely enough, I'm getting different results after loading in the model. Below are my code snippets. The data source is of course identical. I will investigate it on that issue further, but maybe someone already sees a bug in my code. Cheers & Thanks,

Re: [Scikit-learn-general] cpickle a model

2013-01-04 Thread Andreas Mueller
Hi Paul. Doing the documentation is in the issue tracker, but no-one wrote it yet :-/ The unpickled model should be trained, i.e. it is not necessary to re-run fit. Running fit again will just forget the old model. Hth, Andy On 01/04/2013 05:19 PM, paul.czodrow...@merckgroup.com wrote: Dear

[Scikit-learn-general] cpickle a model

2013-01-04 Thread Paul . Czodrowski
Dear SciKitters, there is one thing I don't understand when cPickling a model. Here is my code to pickle a model: " clf_kNN = KNeighborsClassifier() clf_kNN = clf_kNN.fit(dataDescrs_array,dataActs_array) cPickle.dump(clf_kNN,file("clf_kNN.descr.pk","wb+")) " And this is the way to ex