{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6416","repository_url":"https://api.github.com/repos/scikit-learn/scikit-learn","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6416/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6416/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6416/events","html_url":"https://github.com/scikit-learn/scikit-learn/issues/6416","id":135337851,"number":6416,"title":"ovr decision_function calculation from ovo case","user":{"login":"btdai","id":17401504,"avatar_url":"https://avatars.githubusercontent.com/u/17401504?v=3","gravatar_id":"","url":"https://api.github.com/users/btdai","html_url":"https://github.com/btdai","followers_url":"https://api.github.com/users/btdai/followers","following_url":"https://api.github.com/users/btdai/following{/other_user}","gists_url":"https://api.github.com/users/btdai/gists{/gist_id}","starred_url":"https://api.github.com/users/btdai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btdai/subscriptions","organizations_url":"https://api.github.com/users/btdai/orgs","repos_url":"https://api.github.com/users/btdai/repos","events_url":"https://api.github.com/users/btdai/events{/privacy}","received_events_url":"https://api.github.com/users/btdai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-02-22T07:14:55Z","updated_at":"2016-10-08T03:36:01Z","closed_at":null,"body":"Dear scikit-learn developers,\r\n\r\nI found a small bug in sklearn/svm/base.py, function decision_function, line 545. The first argument passed to multiclass._ovr_decision_function in sklearn/multiclass.py does not much with the implementation of _ovr_decision_function. The first argument from svm.decision_function is a boolean ndarray, while line 603, 604 in multiclass.py actually check if the values are 0 or 1. So the vote matrix is always zero, no matter what the first argument is from svm.decision_function.\r\n\r\nI understand that the ovo will be replaced by ovr in version 0.18, so not sure if this function will be still valid in 0.18. Just point out just in case that, you actually wanted to check True/False, but became 0/1.\r\n\r\nThank you for all your effort, sklearn is very helpful!\r\n"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/252400025","html_url":"https://github.com/scikit-learn/scikit-learn/issues/6416#issuecomment-252400025","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6416","id":252400025,"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},"created_at":"2016-10-08T03:36:01Z","updated_at":"2016-10-08T03:36:01Z","body":"@btdai sorry, there is a huge backlog of issues."}}
{"actor":{"display_login":"amueller"}}