{"action":"closed","issue":{"url":"https://api.github.com/repos/ArdalanM/pyLightGBM/issues/9","repository_url":"https://api.github.com/repos/ArdalanM/pyLightGBM","labels_url":"https://api.github.com/repos/ArdalanM/pyLightGBM/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/ArdalanM/pyLightGBM/issues/9/comments","events_url":"https://api.github.com/repos/ArdalanM/pyLightGBM/issues/9/events","html_url":"https://github.com/ArdalanM/pyLightGBM/issues/9","id":184620561,"number":9,"title":"IOError when calling fit()","user":{"login":"ihopethiswillfi","id":17611570,"avatar_url":"https://avatars.githubusercontent.com/u/17611570?v=3","gravatar_id":"","url":"https://api.github.com/users/ihopethiswillfi","html_url":"https://github.com/ihopethiswillfi","followers_url":"https://api.github.com/users/ihopethiswillfi/followers","following_url":"https://api.github.com/users/ihopethiswillfi/following{/other_user}","gists_url":"https://api.github.com/users/ihopethiswillfi/gists{/gist_id}","starred_url":"https://api.github.com/users/ihopethiswillfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihopethiswillfi/subscriptions","organizations_url":"https://api.github.com/users/ihopethiswillfi/orgs","repos_url":"https://api.github.com/users/ihopethiswillfi/repos","events_url":"https://api.github.com/users/ihopethiswillfi/events{/privacy}","received_events_url":"https://api.github.com/users/ihopethiswillfi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-22T09:36:48Z","updated_at":"2016-10-22T12:28:33Z","closed_at":"2016-10-22T12:28:33Z","body":"IOError when calling fit()\r\nOS = Windows 10 x64\r\nCloned and built it just a few hours ago.\r\n\r\n\r\n```\r\nest = GBMRegressor(exec_path=\"O:/Coding/LightGBM/\", \r\n                   config='', \r\n                   application='regression', \r\n                   num_iterations=2500, \r\n                   learning_rate=0.1, \r\n                   num_leaves=127, \r\n                   tree_learner='serial', \r\n                   num_threads=4, \r\n                   min_data_in_leaf=100, \r\n                   metric='l2', \r\n                   feature_fraction=1.0, \r\n                   feature_fraction_seed=2, \r\n                   bagging_fraction=1.0, \r\n                   bagging_freq=0, \r\n                   bagging_seed=3, \r\n                   metric_freq=1, \r\n                   early_stopping_round=0)\r\nest.fit(X, y, test_data=[(X_holdout, y_holdout)])\r\n```\r\n\r\n\r\n---------------------------------------------\r\n\r\n\r\nIOErrorTraceback (most recent call last)\r\n<ipython-input-17-e6560226c467> in <module>()\r\n----> 1 est.fit(X, y, test_data=[(X_holdout, y_holdout)])\r\n\r\nC:\\Users\\ihopethiswillfi\\Anaconda2\\lib\\site-packages\\pylightgbm-0.2-py2.7.egg\\pylightgbm\\models.pyc in fit(self, X, y, test_data)\r\n     71             os.system(\"{} config={}\".format(self.exec_path, self.config))\r\n     72 \r\n---> 73         with open(self.param['output_model'], mode='rb') as file:\r\n     74             self.model = file.read()\r\n     75 \r\n\r\nIOError: [Errno 2] No such file or directory: 'c:\\\\users\\\\ihopethiswillfi\\\\appdata\\\\local\\\\temp\\\\tmpksw8jv\\\\LightGBM_model.txt'"}}
{"actor":{"display_login":"EBazarov"}}