Hi all.
I want to save an array of models trained on lots of data to file. I have
tried the following code (roughly speaking anyway)
> models = []
> # Populate the list of models with dict items containing one number and
> PCA and GMM models
> import pickle
> pickle.dump( "models.pickle", models )
but I get errors saying:
> AttributeError: 'list' object has no attribute 'write'.
which presumably referrs to the models list.
Saving them to file is crucial for me, but I have no idea how to proceed
from here. Any advice will be appreciated.
Thanks.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general