{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4123","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4123/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4123/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4123/events","html_url":"https://github.com/scikit-learn/scikit-learn/issues/4123","id":54738405,"number":4123,"title":"Value Error in plot_lasso_coordinate_descent_path.py","user":{"login":"amritkrs","id":7788847,"avatar_url":"https://avatars.githubusercontent.com/u/7788847?v=3","gravatar_id":"","url":"https://api.github.com/users/amritkrs","html_url":"https://github.com/amritkrs","followers_url":"https://api.github.com/users/amritkrs/followers","following_url":"https://api.github.com/users/amritkrs/following{/other_user}","gists_url":"https://api.github.com/users/amritkrs/gists{/gist_id}","starred_url":"https://api.github.com/users/amritkrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amritkrs/subscriptions","organizations_url":"https://api.github.com/users/amritkrs/orgs","repos_url":"https://api.github.com/users/amritkrs/repos","events_url":"https://api.github.com/users/amritkrs/events{/privacy}","received_events_url":"https://api.github.com/users/amritkrs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-19T08:43:40Z","updated_at":"2015-01-19T10:00:51Z","closed_at":null,"body":"=====================\r\nLasso and Elastic Net\r\n=====================\r\n\r\nLasso and elastic net (L1 and L2 penalisation) implemented using a\r\ncoordinate descent.\r\n\r\nThe coefficients can be forced to be positive.\r\n\r\nComputing regularization path using the lasso...\r\n/usr/lib/python2.7/dist-packages/sklearn/linear_model/coordinate_descent.py:229: DeprecationWarning: Use enet_path(return_models=False), as it returns the coefficients and alphas instead of just a list of models as previously `lasso_path`/`enet_path` did. `return_models` will eventually be removed in 0.15, after which, returning alphas and coefs will become the norm.\r\n  return_models=return_models, **params)\r\nTraceback (most recent call last):\r\n  File \"plot_lasso_coordinate_descent_path.py\", line 33, in <module>\r\n    alphas_lasso, coefs_lasso, _ = lasso_path(X, y, eps, fit_intercept=False)\r\nValueError: too many values to unpack\r\n"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/70469608","html_url":"https://github.com/scikit-learn/scikit-learn/issues/4123#issuecomment-70469608","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4123","id":70469608,"user":{"login":"amritkrs","id":7788847,"avatar_url":"https://avatars.githubusercontent.com/u/7788847?v=3","gravatar_id":"","url":"https://api.github.com/users/amritkrs","html_url":"https://github.com/amritkrs","followers_url":"https://api.github.com/users/amritkrs/followers","following_url":"https://api.github.com/users/amritkrs/following{/other_user}","gists_url":"https://api.github.com/users/amritkrs/gists{/gist_id}","starred_url":"https://api.github.com/users/amritkrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amritkrs/subscriptions","organizations_url":"https://api.github.com/users/amritkrs/orgs","repos_url":"https://api.github.com/users/amritkrs/repos","events_url":"https://api.github.com/users/amritkrs/events{/privacy}","received_events_url":"https://api.github.com/users/amritkrs/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T10:00:51Z","updated_at":"2015-01-19T10:00:51Z","body":"Let me explain what i did.\r\n1> I cloned scikit-learn from github to my system.\r\n2> I then didn't install it but just went to examples and tried running the above mentioned file,and this gave me the error which i got.\r\nSo, from your comment, i feel that while running it, system is using the installed sklearn rather than what i have cloned.\r\nDo i have to install it before i run the example."}}