{"action":"created","issue":{"url":"https://api.github.com/repos/rhiever/tpot/issues/308","repository_url":"https://api.github.com/repos/rhiever/tpot","labels_url":"https://api.github.com/repos/rhiever/tpot/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/rhiever/tpot/issues/308/comments","events_url":"https://api.github.com/repos/rhiever/tpot/issues/308/events","html_url":"https://github.com/rhiever/tpot/issues/308","id":187976013,"number":308,"title":"pipeline not fitted even though fit was called","user":{"login":"geoHeil","id":1694964,"avatar_url":"https://avatars.githubusercontent.com/u/1694964?v=3","gravatar_id":"","url":"https://api.github.com/users/geoHeil","html_url":"https://github.com/geoHeil","followers_url":"https://api.github.com/users/geoHeil/followers","following_url":"https://api.github.com/users/geoHeil/following{/other_user}","gists_url":"https://api.github.com/users/geoHeil/gists{/gist_id}","starred_url":"https://api.github.com/users/geoHeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoHeil/subscriptions","organizations_url":"https://api.github.com/users/geoHeil/orgs","repos_url":"https://api.github.com/users/geoHeil/repos","events_url":"https://api.github.com/users/geoHeil/events{/privacy}","received_events_url":"https://api.github.com/users/geoHeil/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-08T12:11:04Z","updated_at":"2016-11-08T18:01:30Z","closed_at":"2016-11-08T18:01:30Z","body":"pipeline does not seem to be fitted even though fit was called\r\n## Context of the issue\r\n\r\nEven though fit is executed when I try to obtain the best result I get the error\r\n```\r\ntpot = TPOTClassifier(verbosity=2, max_time_mins=10)\r\ntpot.fit(X_train, y_train)\r\ntpot.export('tpot_pipe.py')\r\nprint(tpot.score(X_test, y_test))\r\n\r\n```\r\nThe error\r\n```\r\n[ValueError                                Traceback (most recent call last)\r\n<ipython-input-10-7d10df09096d> in <module>()\r\n----> 1 tpot.export('tpot_pipe.py')\r\n      2 #print(tpot.score(X_test, y_test))\r\n\r\n/usr/local/lib/python3.5/site-packages/tpot/base.py in export(self, output_file_name)\r\n    471         \"\"\"\r\n    472         if self._optimized_pipeline is None:\r\n--> 473             raise ValueError('A pipeline has not yet been optimized. Please call fit() first.')\r\n    474 \r\n    475         with open(output_file_name, 'w') as output_file:\r\n\r\nValueError: A pipeline has not yet been optimized. Please call fit() first.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/rhiever/tpot/issues/comments/259211300","html_url":"https://github.com/rhiever/tpot/issues/308#issuecomment-259211300","issue_url":"https://api.github.com/repos/rhiever/tpot/issues/308","id":259211300,"user":{"login":"geoHeil","id":1694964,"avatar_url":"https://avatars.githubusercontent.com/u/1694964?v=3","gravatar_id":"","url":"https://api.github.com/users/geoHeil","html_url":"https://github.com/geoHeil","followers_url":"https://api.github.com/users/geoHeil/followers","following_url":"https://api.github.com/users/geoHeil/following{/other_user}","gists_url":"https://api.github.com/users/geoHeil/gists{/gist_id}","starred_url":"https://api.github.com/users/geoHeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoHeil/subscriptions","organizations_url":"https://api.github.com/users/geoHeil/orgs","repos_url":"https://api.github.com/users/geoHeil/repos","events_url":"https://api.github.com/users/geoHeil/events{/privacy}","received_events_url":"https://api.github.com/users/geoHeil/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T18:01:30Z","updated_at":"2016-11-08T18:01:30Z","body":"good point regarding linux - the python process just crashed on my macbook :("}}
{"actor":{"display_login":"geoHeil"}}