{"action":"created","issue":{"url":"https://api.github.com/repos/openml/python/issues/21","labels_url":"https://api.github.com/repos/openml/python/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/openml/python/issues/21/comments","events_url":"https://api.github.com/repos/openml/python/issues/21/events","html_url":"https://github.com/openml/python/issues/21","id":123730188,"number":21,"title":"How to serialize models","user":{"login":"joaquinvanschoren","id":1724503,"avatar_url":"https://avatars.githubusercontent.com/u/1724503?v=3","gravatar_id":"","url":"https://api.github.com/users/joaquinvanschoren","html_url":"https://github.com/joaquinvanschoren","followers_url":"https://api.github.com/users/joaquinvanschoren/followers","following_url":"https://api.github.com/users/joaquinvanschoren/following{/other_user}","gists_url":"https://api.github.com/users/joaquinvanschoren/gists{/gist_id}","starred_url":"https://api.github.com/users/joaquinvanschoren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaquinvanschoren/subscriptions","organizations_url":"https://api.github.com/users/joaquinvanschoren/orgs","repos_url":"https://api.github.com/users/joaquinvanschoren/repos","events_url":"https://api.github.com/users/joaquinvanschoren/events{/privacy}","received_events_url":"https://api.github.com/users/joaquinvanschoren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-12-23T22:14:20Z","updated_at":"2016-01-05T14:23:14Z","closed_at":null,"body":"More of a developer-to-developer question: we are working on exporting scikit-learn runs, but we are unsure what is the best way to share learned models. On first sight, creating a pickle is the best and most general way to go. Matthias confirms that this works with scikit-learn SVMs, even though the files can get large for large datasets. \r\n\r\nHowever, scikit-learn recommends to use joblib because it is more efficient: http://scikit-learn.org/stable/modules/model_persistence.html\r\n\r\nThe problem here is that it creates a bunch of files in a folder. This is much harder to share, and sending many many files to the OpenML server for every single run seems unwieldy and error-prone. \r\n\r\nWould creating a single pickle file still be the best way forward, or is there a better solution?"},"comment":{"url":"https://api.github.com/repos/openml/python/issues/comments/169013789","html_url":"https://github.com/openml/python/issues/21#issuecomment-169013789","issue_url":"https://api.github.com/repos/openml/python/issues/21","id":169013789,"user":{"login":"mfeurer","id":5320498,"avatar_url":"https://avatars.githubusercontent.com/u/5320498?v=3","gravatar_id":"","url":"https://api.github.com/users/mfeurer","html_url":"https://github.com/mfeurer","followers_url":"https://api.github.com/users/mfeurer/followers","following_url":"https://api.github.com/users/mfeurer/following{/other_user}","gists_url":"https://api.github.com/users/mfeurer/gists{/gist_id}","starred_url":"https://api.github.com/users/mfeurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfeurer/subscriptions","organizations_url":"https://api.github.com/users/mfeurer/orgs","repos_url":"https://api.github.com/users/mfeurer/repos","events_url":"https://api.github.com/users/mfeurer/events{/privacy}","received_events_url":"https://api.github.com/users/mfeurer/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T14:23:14Z","updated_at":"2016-01-05T14:23:14Z","body":"Conda seems to be a good idea to persist an environment. I'm not sure about Dill though. From the github website it seems like there is only a single developer/maintainer. We should keep that in mind if we want to base the python interface on that package."}}