{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/604","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/604/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/604/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/604/events","html_url":"https://github.com/scikit-learn/scikit-learn/issues/604","id":3054549,"number":604,"title":"linear_model.SGDRegressor : Buffer has wrong number of dimensions (expected 1, got 2)","user":{"login":"vicpara","id":1392100,"avatar_url":"https://avatars.githubusercontent.com/u/1392100?v=3","gravatar_id":"","url":"https://api.github.com/users/vicpara","html_url":"https://github.com/vicpara","followers_url":"https://api.github.com/users/vicpara/followers","following_url":"https://api.github.com/users/vicpara/following{/other_user}","gists_url":"https://api.github.com/users/vicpara/gists{/gist_id}","starred_url":"https://api.github.com/users/vicpara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicpara/subscriptions","organizations_url":"https://api.github.com/users/vicpara/orgs","repos_url":"https://api.github.com/users/vicpara/repos","events_url":"https://api.github.com/users/vicpara/events{/privacy}","received_events_url":"https://api.github.com/users/vicpara/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/milestones/8","html_url":"https://github.com/scikit-learn/scikit-learn/milestones/0.14-rc","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/milestones/8/labels","id":168894,"number":8,"title":"0.14-rc","description":"","creator":{"login":"amueller","id":449558,"avatar_url":"https://avatars.githubusercontent.com/u/449558?v=3","gravatar_id":"","url":"https://api.github.com/users/amueller","html_url":"https://github.com/amueller","followers_url":"https://api.github.com/users/amueller/followers","following_url":"https://api.github.com/users/amueller/following{/other_user}","gists_url":"https://api.github.com/users/amueller/gists{/gist_id}","starred_url":"https://api.github.com/users/amueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amueller/subscriptions","organizations_url":"https://api.github.com/users/amueller/orgs","repos_url":"https://api.github.com/users/amueller/repos","events_url":"https://api.github.com/users/amueller/events{/privacy}","received_events_url":"https://api.github.com/users/amueller/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":101,"state":"closed","created_at":"2012-09-02T13:35:56Z","updated_at":"2015-02-10T16:21:53Z","due_on":"2013-07-29T07:00:00Z","closed_at":"2013-08-04T21:05:36Z"},"comments":22,"created_at":"2012-02-01T16:37:56Z","updated_at":"2015-10-22T12:27:06Z","closed_at":"2013-07-26T15:17:45Z","body":"Hello,\r\nI'm using SGDRegressor to fit a data set of 74K entries and 11 features.When I call the fit method I get the error from below. I've tried to understand the problem but I cannot say what shall I do differently. The entries from y are equal with the entries in X.\r\n\r\nThe error:\r\nTraceback (most recent call last):\r\n  File \"D:\\Work\\Python\\HeritagePrize\\HeritagePrize\\Program.py\", line 45, in <module>\r\n    error = sgd.Train()\r\n  File \"D:\\Work\\Python\\HeritagePrize\\HeritagePrize\\MyPredictors.py\", line 103, in Train\r\n    self.predictor.fit(data.trainData, data.trainTarget)\r\n  File \"C:\\Python27\\lib\\site-packages\\sklearn\\linear_model\\base.py\", line 506, in fit\r\n    self._fit_regressor(X, y)\r\n  File \"C:\\Python27\\lib\\site-packages\\sklearn\\linear_model\\stochastic_gradient.py\", line 330, in _fit_regressor\r\n    self.eta0, self.power_t)\r\n  File \"sgd_fast.pyx\", line 214, in sklearn.linear_model.sgd_fast.plain_sgd (sklearn\\linear_model\\sgd_fast.c:4954)\r\nValueError: Buffer has wrong number of dimensions (expected 1, got 2)"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/150205237","html_url":"https://github.com/scikit-learn/scikit-learn/issues/604#issuecomment-150205237","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/604","id":150205237,"user":{"login":"naught101","id":167164,"avatar_url":"https://avatars.githubusercontent.com/u/167164?v=3","gravatar_id":"","url":"https://api.github.com/users/naught101","html_url":"https://github.com/naught101","followers_url":"https://api.github.com/users/naught101/followers","following_url":"https://api.github.com/users/naught101/following{/other_user}","gists_url":"https://api.github.com/users/naught101/gists{/gist_id}","starred_url":"https://api.github.com/users/naught101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naught101/subscriptions","organizations_url":"https://api.github.com/users/naught101/orgs","repos_url":"https://api.github.com/users/naught101/repos","events_url":"https://api.github.com/users/naught101/events{/privacy}","received_events_url":"https://api.github.com/users/naught101/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T12:27:06Z","updated_at":"2015-10-22T12:27:06Z","body":"Yeah, you're right, it's working on master.. But not on the 0.16.1 version I was using with conda... just reinstalled, and it seems to work now.. who knows. Sorry for the spam."}}