{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/14949","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/14949/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/14949/comments","events_url":"https://api.github.com/repos/apache/spark/issues/14949/events","html_url":"https://github.com/apache/spark/pull/14949","id":174899438,"number":14949,"title":"[SPARK-17057] [ML] ProbabilisticClassifierModels' prediction more reasonable with multi zero thresholds","user":{"login":"srowen","id":822522,"avatar_url":"https://avatars.githubusercontent.com/u/822522?v=3","gravatar_id":"","url":"https://api.github.com/users/srowen","html_url":"https://github.com/srowen","followers_url":"https://api.github.com/users/srowen/followers","following_url":"https://api.github.com/users/srowen/following{/other_user}","gists_url":"https://api.github.com/users/srowen/gists{/gist_id}","starred_url":"https://api.github.com/users/srowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srowen/subscriptions","organizations_url":"https://api.github.com/users/srowen/orgs","repos_url":"https://api.github.com/users/srowen/repos","events_url":"https://api.github.com/users/srowen/events{/privacy}","received_events_url":"https://api.github.com/users/srowen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-03T14:28:05Z","updated_at":"2016-09-03T16:22:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/14949","html_url":"https://github.com/apache/spark/pull/14949","diff_url":"https://github.com/apache/spark/pull/14949.diff","patch_url":"https://github.com/apache/spark/pull/14949.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nSee related discussion at https://github.com/apache/spark/pull/14643\r\n\r\nThis actually changes more than what the original JIRA encompassed, but does propose a more reasonable (?) and deterministic result in this and other corner cases.\r\n\r\nRevise semantics of ProbabilisticClassifierModel thresholds so that classes can only be predicted if they exceed their threshold (meaning no class may be predicted), and otherwise ordering by highest probability, then lowest threshold, then by class index.\r\n\r\n## How was this patch tested?\r\n\r\nExisting and new unit tests."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/244555654","html_url":"https://github.com/apache/spark/pull/14949#issuecomment-244555654","issue_url":"https://api.github.com/repos/apache/spark/issues/14949","id":244555654,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2016-09-03T16:22:43Z","updated_at":"2016-09-03T16:22:43Z","body":"**[Test build #64903 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/64903/consoleFull)** for PR 14949 at commit [`2fa331e`](https://github.com/apache/spark/commit/2fa331ebdf3df31b08e3299c8410c29efa645bf1)."}}
{"actor":{"display_login":"SparkQA"}}