{"action":"created","issue":{"url":"https://api.github.com/repos/berak/uniform-lbp/issues/2","labels_url":"https://api.github.com/repos/berak/uniform-lbp/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/berak/uniform-lbp/issues/2/comments","events_url":"https://api.github.com/repos/berak/uniform-lbp/issues/2/events","html_url":"https://github.com/berak/uniform-lbp/issues/2","id":102727098,"number":2,"title":"ClassifierSvmMulti::predict issue","user":{"login":"rmekdma","id":11677992,"avatar_url":"https://avatars.githubusercontent.com/u/11677992?v=3","gravatar_id":"","url":"https://api.github.com/users/rmekdma","html_url":"https://github.com/rmekdma","followers_url":"https://api.github.com/users/rmekdma/followers","following_url":"https://api.github.com/users/rmekdma/following{/other_user}","gists_url":"https://api.github.com/users/rmekdma/gists{/gist_id}","starred_url":"https://api.github.com/users/rmekdma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmekdma/subscriptions","organizations_url":"https://api.github.com/users/rmekdma/orgs","repos_url":"https://api.github.com/users/rmekdma/repos","events_url":"https://api.github.com/users/rmekdma/events{/privacy}","received_events_url":"https://api.github.com/users/rmekdma/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-24T07:35:37Z","updated_at":"2015-08-25T06:29:40Z","closed_at":"2015-08-25T06:24:01Z","body":"Hi, I found something strange in the ClassifierSvmMulti::predict() function.\r\nAt line 280, the predicted labels are being compared.\r\n\r\n    if (p > m)\r\n\r\nDid you mean to produce raw output like this?\r\n\r\n    svms[j]->predict(query, r, ml::StatModel::RAW_OUTPUT)\r\n\r\nIf then, how about accumulating raw outputs and return the class label of the largest output?"},"comment":{"url":"https://api.github.com/repos/berak/uniform-lbp/issues/comments/134494686","html_url":"https://github.com/berak/uniform-lbp/issues/2#issuecomment-134494686","issue_url":"https://api.github.com/repos/berak/uniform-lbp/issues/2","id":134494686,"user":{"login":"berak","id":854416,"avatar_url":"https://avatars.githubusercontent.com/u/854416?v=3","gravatar_id":"","url":"https://api.github.com/users/berak","html_url":"https://github.com/berak","followers_url":"https://api.github.com/users/berak/followers","following_url":"https://api.github.com/users/berak/following{/other_user}","gists_url":"https://api.github.com/users/berak/gists{/gist_id}","starred_url":"https://api.github.com/users/berak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berak/subscriptions","organizations_url":"https://api.github.com/users/berak/orgs","repos_url":"https://api.github.com/users/berak/repos","events_url":"https://api.github.com/users/berak/events{/privacy}","received_events_url":"https://api.github.com/users/berak/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T06:29:40Z","updated_at":"2015-08-25T06:29:40Z","body":"thanks for the idea, nonetheless !"}}