{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":{"state":"open","open_issues":16,"url":"https://api.github.com/repos/scikit-learn/scikit-learn/milestones/4","due_on":"2011-12-15T08:00:00Z","title":"0.10","description":"0.10 release","number":4,"creator":{"avatar_url":"https://secure.gravatar.com/avatar/eaa2cd9096f3200545585814052a475e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"eaa2cd9096f3200545585814052a475e","url":"https://api.github.com/users/fabianp","login":"fabianp","id":277639},"closed_issues":6,"created_at":"2011-07-05T09:15:09Z"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/56e17cbc8c5ea5b37d67018db6d030b0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"56e17cbc8c5ea5b37d67018db6d030b0","url":"https://api.github.com/users/larsmans","login":"larsmans","id":335383},"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/c9e2eeace0c2f0dcc21cfca626fd1797?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c9e2eeace0c2f0dcc21cfca626fd1797","url":"https://api.github.com/users/pprett","login":"pprett","id":111730},"updated_at":"2011-11-15T20:53:46Z","labels":[],"closed_at":null,"comments":7,"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/441","body":"This is part of a traceback I got today:\r\n\r\n      File \"/scratch/lars/apps/src/scikit-learn/sklearn/grid_search.py\", line 346, in fit\r\n        best_estimator = clone(best_estimator)\r\n      File \"/scratch/lars/apps/src/scikit-learn/sklearn/base.py\", line 73, in clone\r\n        'seem to set parameter %s' % (estimator, name)\r\n    AssertionError: Cannot clone object SGDClassifier(alpha=0.001, class_weight=None, eta0=0.0, fit_intercept=True,\r\n           learning_rate=optimal, loss=hinge, n_iter=20, n_jobs=1, penalty=l2,\r\n           power_t=0.5, rho=0.85, seed=0, shuffle=False, verbose=0), as the constructor does not seem to set parameter rho\r\n\r\nThis seems to be caused by `BaseSGD._set_penalty_type`, which resets `self.rho` when L1 or L2 (as opposed to e-net) penalties are used. I'm not sure what would be the proper fix. My workaround is to always use an e-net penalty.","html_url":"https://github.com/scikit-learn/scikit-learn/issues/441","title":"SGDClassifier can't be cloned due to rho parameter fiddling","number":441,"id":2231305,"created_at":"2011-11-14T15:04:25Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/5c9fb379c4e97b58960d74dcbfc5dee5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"5c9fb379c4e97b58960d74dcbfc5dee5","url":"https://api.github.com/users/GaelVaroquaux","login":"GaelVaroquaux","id":208217},"updated_at":"2011-11-15T20:53:46Z","url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/2751141","body":"> @larsmans, @GaelVaroquaux I committed a fix for the issue to the master repo http://t.co/uwyDfjg5\n\nThank you!","id":2751141,"created_at":"2011-11-15T20:53:46Z"}}