{"action":"created","issue":{"url":"https://api.github.com/repos/kootenpv/whereami/issues/2","repository_url":"https://api.github.com/repos/kootenpv/whereami","labels_url":"https://api.github.com/repos/kootenpv/whereami/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/kootenpv/whereami/issues/2/comments","events_url":"https://api.github.com/repos/kootenpv/whereami/issues/2/events","html_url":"https://github.com/kootenpv/whereami/issues/2","id":179601573,"number":2,"title":"(Python 2.7) predict_proba throws AttributeError","user":{"login":"rfilmyer","id":5913205,"avatar_url":"https://avatars.githubusercontent.com/u/5913205?v=3","gravatar_id":"","url":"https://api.github.com/users/rfilmyer","html_url":"https://github.com/rfilmyer","followers_url":"https://api.github.com/users/rfilmyer/followers","following_url":"https://api.github.com/users/rfilmyer/following{/other_user}","gists_url":"https://api.github.com/users/rfilmyer/gists{/gist_id}","starred_url":"https://api.github.com/users/rfilmyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfilmyer/subscriptions","organizations_url":"https://api.github.com/users/rfilmyer/orgs","repos_url":"https://api.github.com/users/rfilmyer/repos","events_url":"https://api.github.com/users/rfilmyer/events{/privacy}","received_events_url":"https://api.github.com/users/rfilmyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-27T20:17:21Z","updated_at":"2016-09-27T20:18:39Z","closed_at":null,"body":"Running OS X El Capitan (10.11.6), Python 2.7.11, whereami 0.1.17\r\n\r\n`predict` works properly, but `predict_proba` makes the calculations (which I can tell because it takes a few seconds) and then throws an `AttributeError`.\r\n\r\n```\r\nRogers-MacBook-Air:~ roger$ whereami predict_proba\r\nTraceback (most recent call last):\r\n  File \"/Users/roger/anaconda/bin/whereami\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/Users/roger/anaconda/lib/python2.7/site-packages/whereami/__main__.py\", line 10, in main\r\n    predict_proba()\r\n  File \"/Users/roger/anaconda/lib/python2.7/site-packages/whereami/predict.py\", line 9, in predict_proba\r\n    print({x: y for x, y in zip(lp.clf.classes_, lp.predict_proba(sample())[0])})\r\nAttributeError: 'Pipeline' object has no attribute 'clf'\r\n```"},"comment":{"url":"https://api.github.com/repos/kootenpv/whereami/issues/comments/249985587","html_url":"https://github.com/kootenpv/whereami/issues/2#issuecomment-249985587","issue_url":"https://api.github.com/repos/kootenpv/whereami/issues/2","id":249985587,"user":{"login":"rfilmyer","id":5913205,"avatar_url":"https://avatars.githubusercontent.com/u/5913205?v=3","gravatar_id":"","url":"https://api.github.com/users/rfilmyer","html_url":"https://github.com/rfilmyer","followers_url":"https://api.github.com/users/rfilmyer/followers","following_url":"https://api.github.com/users/rfilmyer/following{/other_user}","gists_url":"https://api.github.com/users/rfilmyer/gists{/gist_id}","starred_url":"https://api.github.com/users/rfilmyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfilmyer/subscriptions","organizations_url":"https://api.github.com/users/rfilmyer/orgs","repos_url":"https://api.github.com/users/rfilmyer/repos","events_url":"https://api.github.com/users/rfilmyer/events{/privacy}","received_events_url":"https://api.github.com/users/rfilmyer/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T20:18:39Z","updated_at":"2016-09-27T20:18:39Z","body":"Update: I see you [were able to reproduce the bug](https://www.reddit.com/r/Python/comments/54qto9/you_can_use_whereami_to_predict_where_you_are/d84jv9j)?"}}
{"actor":{"display_login":"rfilmyer"}}