{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/14140","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/14140/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/14140/comments","events_url":"https://api.github.com/repos/apache/spark/issues/14140/events","html_url":"https://github.com/apache/spark/pull/14140","id":164937714,"number":14140,"title":"[SPARK-16426][MLlib] Fix bug that caused NaNs in IsotonicRegression","user":{"login":"neggert","id":1271014,"avatar_url":"https://avatars.githubusercontent.com/u/1271014?v=3","gravatar_id":"","url":"https://api.github.com/users/neggert","html_url":"https://github.com/neggert","followers_url":"https://api.github.com/users/neggert/followers","following_url":"https://api.github.com/users/neggert/following{/other_user}","gists_url":"https://api.github.com/users/neggert/gists{/gist_id}","starred_url":"https://api.github.com/users/neggert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neggert/subscriptions","organizations_url":"https://api.github.com/users/neggert/orgs","repos_url":"https://api.github.com/users/neggert/repos","events_url":"https://api.github.com/users/neggert/events{/privacy}","received_events_url":"https://api.github.com/users/neggert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-11T21:23:20Z","updated_at":"2016-07-14T14:47:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/14140","html_url":"https://github.com/apache/spark/pull/14140","diff_url":"https://github.com/apache/spark/pull/14140.diff","patch_url":"https://github.com/apache/spark/pull/14140.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nFixed a bug that caused `NaN`s in `IsotonicRegression`. The problem occurs when training rows with the same feature value but different labels end up on different partitions. This patch changes a `sortBy` call to a `partitionBy(RangePartitioner)` followed by a `mapPartitions(sortBy)` in order to ensure that all rows with the same feature value end up on the same partition.\r\n\r\n## How was this patch tested?\r\n\r\nAdded a unit test.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/232687427","html_url":"https://github.com/apache/spark/pull/14140#issuecomment-232687427","issue_url":"https://api.github.com/repos/apache/spark/issues/14140","id":232687427,"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-07-14T14:47:43Z","updated_at":"2016-07-14T14:47:43Z","body":"**[Test build #62323 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/62323/consoleFull)** for PR 14140 at commit [`6222452`](https://github.com/apache/spark/commit/62224529cc7ec2d215e8fd47453ca73785ffbf53)."}}
{"actor":{"display_login":"SparkQA"}}