{"action":"created","issue":{"url":"https://api.github.com/repos/aigamedev/scikit-neuralnetwork/issues/182","repository_url":"https://api.github.com/repos/aigamedev/scikit-neuralnetwork","labels_url":"https://api.github.com/repos/aigamedev/scikit-neuralnetwork/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/aigamedev/scikit-neuralnetwork/issues/182/comments","events_url":"https://api.github.com/repos/aigamedev/scikit-neuralnetwork/issues/182/events","html_url":"https://github.com/aigamedev/scikit-neuralnetwork/issues/182","id":135942664,"number":182,"title":"Wrong .predict_proba() output shape for Classifier?","user":{"login":"ralston3","id":17253182,"avatar_url":"https://avatars.githubusercontent.com/u/17253182?v=3","gravatar_id":"","url":"https://api.github.com/users/ralston3","html_url":"https://github.com/ralston3","followers_url":"https://api.github.com/users/ralston3/followers","following_url":"https://api.github.com/users/ralston3/following{/other_user}","gists_url":"https://api.github.com/users/ralston3/gists{/gist_id}","starred_url":"https://api.github.com/users/ralston3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralston3/subscriptions","organizations_url":"https://api.github.com/users/ralston3/orgs","repos_url":"https://api.github.com/users/ralston3/repos","events_url":"https://api.github.com/users/ralston3/events{/privacy}","received_events_url":"https://api.github.com/users/ralston3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-24T03:28:02Z","updated_at":"2016-02-24T09:03:45Z","closed_at":null,"body":"I'm trying the `.predict_proba()` method on a multi-label problem. And while the method returns the appropriate values, instead of returning them as `[n_samples, n_classes]` it returns them as `[n_samples, n_probabilities]` \r\n\r\nHere is the output from a sample from a simple multi-label problem with 4 unique classes:\r\n\r\n`[[0.50014246  0.49985754  0.50011709  0.49988291  0.50063539  0.49936461\r\n   0.49984055  0.50015945]\r\n     [0.50018613  0.49981387  0.50015697  0.49984303  0.50078478  0.49921522\r\n   0.49983006  0.50016994]]`\r\n\r\nWhile the values in each single array are correct, they aren't paired (e.g., `[0.5001, 0.4998], [0.5001, 0.4998]`), which would then make the size `[n_samples, n_classes]`. Was this intended? I apologize for any confusion.\r\n\r\n-ralston3"},"comment":{"url":"https://api.github.com/repos/aigamedev/scikit-neuralnetwork/issues/comments/188148448","html_url":"https://github.com/aigamedev/scikit-neuralnetwork/issues/182#issuecomment-188148448","issue_url":"https://api.github.com/repos/aigamedev/scikit-neuralnetwork/issues/182","id":188148448,"user":{"login":"alexjc","id":445208,"avatar_url":"https://avatars.githubusercontent.com/u/445208?v=3","gravatar_id":"","url":"https://api.github.com/users/alexjc","html_url":"https://github.com/alexjc","followers_url":"https://api.github.com/users/alexjc/followers","following_url":"https://api.github.com/users/alexjc/following{/other_user}","gists_url":"https://api.github.com/users/alexjc/gists{/gist_id}","starred_url":"https://api.github.com/users/alexjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexjc/subscriptions","organizations_url":"https://api.github.com/users/alexjc/orgs","repos_url":"https://api.github.com/users/alexjc/repos","events_url":"https://api.github.com/users/alexjc/events{/privacy}","received_events_url":"https://api.github.com/users/alexjc/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T09:03:45Z","updated_at":"2016-02-24T09:03:45Z","body":"Thanks, it's a good question. I think you're right, returning sub-arrays would be more intuitive.\r\n\r\nThe most important decision factor is preserving compatibility with other sklearn classifiers and the rest of the functionality. Do you know how those work and what format they output? Are there other functions (e.g. `grid_search`) that would break if we changed the output?"}}