{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/7237","repository_url":"https://api.github.com/repos/scikit-learn/scikit-learn","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/7237/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/7237/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/7237/events","html_url":"https://github.com/scikit-learn/scikit-learn/issues/7237","id":173028786,"number":7237,"title":"hamming_loss ``classes`` parameter should be called ``labels`` for consistency.","user":{"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},"labels":[{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Easy","name":"Easy","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-24T18:47:32Z","updated_at":"2016-10-05T05:30:14Z","closed_at":null,"body":"All the other losses use a ``labels`` parameter to indicate the present classes in the dataset as far as I can see. I think this is a really important argument that we should possibly use more (in the scorers) so consistent naming is important.\r\n(Obviously the previous parameter classes needs a deprecation cycle)"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/251585549","html_url":"https://github.com/scikit-learn/scikit-learn/issues/7237#issuecomment-251585549","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/7237","id":251585549,"user":{"login":"nelson-liu","id":7272031,"avatar_url":"https://avatars.githubusercontent.com/u/7272031?v=3","gravatar_id":"","url":"https://api.github.com/users/nelson-liu","html_url":"https://github.com/nelson-liu","followers_url":"https://api.github.com/users/nelson-liu/followers","following_url":"https://api.github.com/users/nelson-liu/following{/other_user}","gists_url":"https://api.github.com/users/nelson-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/nelson-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelson-liu/subscriptions","organizations_url":"https://api.github.com/users/nelson-liu/orgs","repos_url":"https://api.github.com/users/nelson-liu/repos","events_url":"https://api.github.com/users/nelson-liu/events{/privacy}","received_events_url":"https://api.github.com/users/nelson-liu/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T05:30:14Z","updated_at":"2016-10-05T05:30:14Z","body":"this should be closed, no? fixed in https://github.com/scikit-learn/scikit-learn/pull/7260"}}
{"actor":{"display_login":"nelson-liu"}}