{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/LightGBM/issues/149","repository_url":"https://api.github.com/repos/Microsoft/LightGBM","labels_url":"https://api.github.com/repos/Microsoft/LightGBM/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/LightGBM/issues/149/comments","events_url":"https://api.github.com/repos/Microsoft/LightGBM/issues/149/events","html_url":"https://github.com/Microsoft/LightGBM/issues/149","id":198149121,"number":149,"title":"how to save model with sklearn's joblib?","user":{"login":"henry0312","id":433434,"avatar_url":"https://avatars.githubusercontent.com/u/433434?v=3","gravatar_id":"","url":"https://api.github.com/users/henry0312","html_url":"https://github.com/henry0312","followers_url":"https://api.github.com/users/henry0312/followers","following_url":"https://api.github.com/users/henry0312/following{/other_user}","gists_url":"https://api.github.com/users/henry0312/gists{/gist_id}","starred_url":"https://api.github.com/users/henry0312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henry0312/subscriptions","organizations_url":"https://api.github.com/users/henry0312/orgs","repos_url":"https://api.github.com/users/henry0312/repos","events_url":"https://api.github.com/users/henry0312/events{/privacy}","received_events_url":"https://api.github.com/users/henry0312/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-30T13:45:29Z","updated_at":"2017-01-01T05:05:15Z","closed_at":null,"body":"How to save model with [joblib](http://scikit-learn.org/stable/modules/model_persistence.html \"3.4. Model persistence — scikit-learn 0.18.1 documentation\")?\r\n\r\n## Environment info\r\n\r\nOperating System: OS X 10.11.6\r\nCPU: Intel Core i7\r\n\r\n## Error Message\r\n\r\n`ValueError: ctypes objects containing pointers cannot be pickled`\r\n\r\nFor detail, please see https://gist.github.com/henry0312/7ae4ab3257152849819d84fca19f4108#file-gistfile1-txt\r\n\r\n## Reproducible examples\r\n\r\nhttps://gist.github.com/henry0312/7ae4ab3257152849819d84fca19f4108#file-tset_gbm_joblib-py\r\n\r\n## Steps to reproduce\r\n\r\n1. move the above example file into `examples/python-guide`\r\n2. `python  tset_gbm_joblib.py`"},"comment":{"url":"https://api.github.com/repos/Microsoft/LightGBM/issues/comments/269892470","html_url":"https://github.com/Microsoft/LightGBM/issues/149#issuecomment-269892470","issue_url":"https://api.github.com/repos/Microsoft/LightGBM/issues/149","id":269892470,"user":{"login":"henry0312","id":433434,"avatar_url":"https://avatars.githubusercontent.com/u/433434?v=3","gravatar_id":"","url":"https://api.github.com/users/henry0312","html_url":"https://github.com/henry0312","followers_url":"https://api.github.com/users/henry0312/followers","following_url":"https://api.github.com/users/henry0312/following{/other_user}","gists_url":"https://api.github.com/users/henry0312/gists{/gist_id}","starred_url":"https://api.github.com/users/henry0312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henry0312/subscriptions","organizations_url":"https://api.github.com/users/henry0312/orgs","repos_url":"https://api.github.com/users/henry0312/repos","events_url":"https://api.github.com/users/henry0312/events{/privacy}","received_events_url":"https://api.github.com/users/henry0312/received_events","type":"User","site_admin":false},"created_at":"2017-01-01T05:05:15Z","updated_at":"2017-01-01T05:05:15Z","body":"Saving models with joblib works fine, but predictions of loaded model aren't the same with those of before model.\r\n(I updated the example, https://gist.github.com/henry0312/7ae4ab3257152849819d84fca19f4108#file-tset_gbm_joblib-py)"}}
{"actor":{"display_login":"henry0312"}}