{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/14308","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/14308/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/14308/comments","events_url":"https://api.github.com/repos/apache/spark/issues/14308/events","html_url":"https://github.com/apache/spark/pull/14308","id":166924699,"number":14308,"title":"[SPARK-16421][EXAMPLES][ML]  Improve ML Example Outputs","user":{"login":"BryanCutler","id":4534389,"avatar_url":"https://avatars.githubusercontent.com/u/4534389?v=3","gravatar_id":"","url":"https://api.github.com/users/BryanCutler","html_url":"https://github.com/BryanCutler","followers_url":"https://api.github.com/users/BryanCutler/followers","following_url":"https://api.github.com/users/BryanCutler/following{/other_user}","gists_url":"https://api.github.com/users/BryanCutler/gists{/gist_id}","starred_url":"https://api.github.com/users/BryanCutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BryanCutler/subscriptions","organizations_url":"https://api.github.com/users/BryanCutler/orgs","repos_url":"https://api.github.com/users/BryanCutler/repos","events_url":"https://api.github.com/users/BryanCutler/events{/privacy}","received_events_url":"https://api.github.com/users/BryanCutler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-07-21T21:41:39Z","updated_at":"2016-08-05T07:27:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/14308","html_url":"https://github.com/apache/spark/pull/14308","diff_url":"https://github.com/apache/spark/pull/14308.diff","patch_url":"https://github.com/apache/spark/pull/14308.patch"},"body":"## What changes were proposed in this pull request?\r\nImprove example outputs to better reflect the functionality that is being presented.  This mostly consisted of modifying what was printed at the end of the example, such as calling show() with truncate=False, but sometimes required minor tweaks in the example data to get relevant output.  Explicitly set parameters when they are used as part of the example.  Fixed Java examples that failed to run because of using old-style MLlib Vectors or problem with schema.  Synced examples between different APIs.\r\n\r\n## How was this patch tested?\r\nRan each example for Scala, Python, and Java and made sure output was legible on a terminal of width 100.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/237776292","html_url":"https://github.com/apache/spark/pull/14308#issuecomment-237776292","issue_url":"https://api.github.com/repos/apache/spark/issues/14308","id":237776292,"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},"created_at":"2016-08-05T07:27:36Z","updated_at":"2016-08-05T07:27:36Z","body":"I think it's fine to remove files that aren't referenced here too."}}
{"actor":{"display_login":"srowen"}}