{"action":"closed","number":2816,"pull_request":{"url":"https://api.github.com/repos/dmlc/xgboost/pulls/2816","id":147870723,"html_url":"https://github.com/dmlc/xgboost/pull/2816","diff_url":"https://github.com/dmlc/xgboost/pull/2816.diff","patch_url":"https://github.com/dmlc/xgboost/pull/2816.patch","issue_url":"https://api.github.com/repos/dmlc/xgboost/issues/2816","number":2816,"state":"closed","locked":false,"title":"[jvm-packages] Remove examples from README","user":{"login":"sethah","id":7275795,"avatar_url":"https://avatars2.githubusercontent.com/u/7275795?v=4","gravatar_id":"","url":"https://api.github.com/users/sethah","html_url":"https://github.com/sethah","followers_url":"https://api.github.com/users/sethah/followers","following_url":"https://api.github.com/users/sethah/following{/other_user}","gists_url":"https://api.github.com/users/sethah/gists{/gist_id}","starred_url":"https://api.github.com/users/sethah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethah/subscriptions","organizations_url":"https://api.github.com/users/sethah/orgs","repos_url":"https://api.github.com/users/sethah/repos","events_url":"https://api.github.com/users/sethah/events{/privacy}","received_events_url":"https://api.github.com/users/sethah/received_events","type":"User","site_admin":false},"body":"The Spark examples on the README for the JVM package don't work, and reference deprecated methods. In general, I think it's not sustainable to paste raw code as examples in the README, since every time the code changes those examples can go out of date. \r\n\r\nThis patch removes the example code from the readme, and instead points readers to the working example code in the example package. Also, properly references \"Apache Flink\" and \"Apache Spark.\"","created_at":"2017-10-20T18:53:51Z","updated_at":"2017-10-20T21:18:47Z","closed_at":"2017-10-20T21:18:47Z","merged_at":"2017-10-20T21:18:47Z","merge_commit_sha":"ac7a9edb06f2641bc68ba8edd4ce241259e20cbc","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/dmlc/xgboost/pulls/2816/commits","review_comments_url":"https://api.github.com/repos/dmlc/xgboost/pulls/2816/comments","review_comment_url":"https://api.github.com/repos/dmlc/xgboost/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmlc/xgboost/issues/2816/comments","statuses_url":"https://api.github.com/repos/dmlc/xgboost/statuses/456c559af84a01a1316404c9da030ec827594a61","head":{"label":"sethah:readme-examples","ref":"readme-examples","sha":"456c559af84a01a1316404c9da030ec827594a61","user":{"login":"sethah","id":7275795,"avatar_url":"https://avatars2.githubusercontent.com/u/7275795?v=4","gravatar_id":"","url":"https://api.github.com/users/sethah","html_url":"https://github.com/sethah","followers_url":"https://api.github.com/users/sethah/followers","following_url":"https://api.github.com/users/sethah/following{/other_user}","gists_url":"https://api.github.com/users/sethah/gists{/gist_id}","starred_url":"https://api.github.com/users/sethah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethah/subscriptions","organizations_url":"https://api.github.com/users/sethah/orgs","repos_url":"https://api.github.com/users/sethah/repos","events_url":"https://api.github.com/users/sethah/events{/privacy}","received_events_url":"https://api.github.com/users/sethah/received_events","type":"User","site_admin":false},"repo":{"id":107708917,"name":"xgboost","full_name":"sethah/xgboost","owner":{"login":"sethah","id":7275795,"avatar_url":"https://avatars2.githubusercontent.com/u/7275795?v=4","gravatar_id":"","url":"https://api.github.com/users/sethah","html_url":"https://github.com/sethah","followers_url":"https://api.github.com/users/sethah/followers","following_url":"https://api.github.com/users/sethah/following{/other_user}","gists_url":"https://api.github.com/users/sethah/gists{/gist_id}","starred_url":"https://api.github.com/users/sethah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethah/subscriptions","organizations_url":"https://api.github.com/users/sethah/orgs","repos_url":"https://api.github.com/users/sethah/repos","events_url":"https://api.github.com/users/sethah/events{/privacy}","received_events_url":"https://api.github.com/users/sethah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sethah/xgboost","description":"Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library,  for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Flink and DataFlow","fork":true,"url":"https://api.github.com/repos/sethah/xgboost","forks_url":"https://api.github.com/repos/sethah/xgboost/forks","keys_url":"https://api.github.com/repos/sethah/xgboost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sethah/xgboost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sethah/xgboost/teams","hooks_url":"https://api.github.com/repos/sethah/xgboost/hooks","issue_events_url":"https://api.github.com/repos/sethah/xgboost/issues/events{/number}","events_url":"https://api.github.com/repos/sethah/xgboost/events","assignees_url":"https://api.github.com/repos/sethah/xgboost/assignees{/user}","branches_url":"https://api.github.com/repos/sethah/xgboost/branches{/branch}","tags_url":"https://api.github.com/repos/sethah/xgboost/tags","blobs_url":"https://api.github.com/repos/sethah/xgboost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sethah/xgboost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sethah/xgboost/git/refs{/sha}","trees_url":"https://api.github.com/repos/sethah/xgboost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sethah/xgboost/statuses/{sha}","languages_url":"https://api.github.com/repos/sethah/xgboost/languages","stargazers_url":"https://api.github.com/repos/sethah/xgboost/stargazers","contributors_url":"https://api.github.com/repos/sethah/xgboost/contributors","subscribers_url":"https://api.github.com/repos/sethah/xgboost/subscribers","subscription_url":"https://api.github.com/repos/sethah/xgboost/subscription","commits_url":"https://api.github.com/repos/sethah/xgboost/commits{/sha}","git_commits_url":"https://api.github.com/repos/sethah/xgboost/git/commits{/sha}","comments_url":"https://api.github.com/repos/sethah/xgboost/comments{/number}","issue_comment_url":"https://api.github.com/repos/sethah/xgboost/issues/comments{/number}","contents_url":"https://api.github.com/repos/sethah/xgboost/contents/{+path}","compare_url":"https://api.github.com/repos/sethah/xgboost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sethah/xgboost/merges","archive_url":"https://api.github.com/repos/sethah/xgboost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sethah/xgboost/downloads","issues_url":"https://api.github.com/repos/sethah/xgboost/issues{/number}","pulls_url":"https://api.github.com/repos/sethah/xgboost/pulls{/number}","milestones_url":"https://api.github.com/repos/sethah/xgboost/milestones{/number}","notifications_url":"https://api.github.com/repos/sethah/xgboost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sethah/xgboost/labels{/name}","releases_url":"https://api.github.com/repos/sethah/xgboost/releases{/id}","deployments_url":"https://api.github.com/repos/sethah/xgboost/deployments","created_at":"2017-10-20T17:47:42Z","updated_at":"2017-10-20T17:47:45Z","pushed_at":"2017-10-20T18:50:07Z","git_url":"git://github.com/sethah/xgboost.git","ssh_url":"git@github.com:sethah/xgboost.git","clone_url":"https://github.com/sethah/xgboost.git","svn_url":"https://github.com/sethah/xgboost","homepage":"","size":7843,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dmlc:master","ref":"master","sha":"c09ad421a8a5d63ac1ee825a7b8195f7cb7f7740","user":{"login":"dmlc","id":11508361,"avatar_url":"https://avatars2.githubusercontent.com/u/11508361?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlc","html_url":"https://github.com/dmlc","followers_url":"https://api.github.com/users/dmlc/followers","following_url":"https://api.github.com/users/dmlc/following{/other_user}","gists_url":"https://api.github.com/users/dmlc/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlc/subscriptions","organizations_url":"https://api.github.com/users/dmlc/orgs","repos_url":"https://api.github.com/users/dmlc/repos","events_url":"https://api.github.com/users/dmlc/events{/privacy}","received_events_url":"https://api.github.com/users/dmlc/received_events","type":"Organization","site_admin":false},"repo":{"id":16587283,"name":"xgboost","full_name":"dmlc/xgboost","owner":{"login":"dmlc","id":11508361,"avatar_url":"https://avatars2.githubusercontent.com/u/11508361?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlc","html_url":"https://github.com/dmlc","followers_url":"https://api.github.com/users/dmlc/followers","following_url":"https://api.github.com/users/dmlc/following{/other_user}","gists_url":"https://api.github.com/users/dmlc/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlc/subscriptions","organizations_url":"https://api.github.com/users/dmlc/orgs","repos_url":"https://api.github.com/users/dmlc/repos","events_url":"https://api.github.com/users/dmlc/events{/privacy}","received_events_url":"https://api.github.com/users/dmlc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dmlc/xgboost","description":"Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library,  for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Flink and DataFlow","fork":false,"url":"https://api.github.com/repos/dmlc/xgboost","forks_url":"https://api.github.com/repos/dmlc/xgboost/forks","keys_url":"https://api.github.com/repos/dmlc/xgboost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmlc/xgboost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmlc/xgboost/teams","hooks_url":"https://api.github.com/repos/dmlc/xgboost/hooks","issue_events_url":"https://api.github.com/repos/dmlc/xgboost/issues/events{/number}","events_url":"https://api.github.com/repos/dmlc/xgboost/events","assignees_url":"https://api.github.com/repos/dmlc/xgboost/assignees{/user}","branches_url":"https://api.github.com/repos/dmlc/xgboost/branches{/branch}","tags_url":"https://api.github.com/repos/dmlc/xgboost/tags","blobs_url":"https://api.github.com/repos/dmlc/xgboost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmlc/xgboost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmlc/xgboost/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmlc/xgboost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmlc/xgboost/statuses/{sha}","languages_url":"https://api.github.com/repos/dmlc/xgboost/languages","stargazers_url":"https://api.github.com/repos/dmlc/xgboost/stargazers","contributors_url":"https://api.github.com/repos/dmlc/xgboost/contributors","subscribers_url":"https://api.github.com/repos/dmlc/xgboost/subscribers","subscription_url":"https://api.github.com/repos/dmlc/xgboost/subscription","commits_url":"https://api.github.com/repos/dmlc/xgboost/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmlc/xgboost/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmlc/xgboost/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmlc/xgboost/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmlc/xgboost/contents/{+path}","compare_url":"https://api.github.com/repos/dmlc/xgboost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmlc/xgboost/merges","archive_url":"https://api.github.com/repos/dmlc/xgboost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmlc/xgboost/downloads","issues_url":"https://api.github.com/repos/dmlc/xgboost/issues{/number}","pulls_url":"https://api.github.com/repos/dmlc/xgboost/pulls{/number}","milestones_url":"https://api.github.com/repos/dmlc/xgboost/milestones{/number}","notifications_url":"https://api.github.com/repos/dmlc/xgboost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmlc/xgboost/labels{/name}","releases_url":"https://api.github.com/repos/dmlc/xgboost/releases{/id}","deployments_url":"https://api.github.com/repos/dmlc/xgboost/deployments","created_at":"2014-02-06T17:28:03Z","updated_at":"2017-10-20T20:29:25Z","pushed_at":"2017-10-20T21:18:47Z","git_url":"git://github.com/dmlc/xgboost.git","ssh_url":"git@github.com:dmlc/xgboost.git","clone_url":"https://github.com/dmlc/xgboost.git","svn_url":"https://github.com/dmlc/xgboost","homepage":"","size":7843,"stargazers_count":9160,"watchers_count":9160,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4458,"mirror_url":null,"archived":false,"open_issues_count":622,"forks":4458,"open_issues":622,"watchers":9160,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmlc/xgboost/pulls/2816"},"html":{"href":"https://github.com/dmlc/xgboost/pull/2816"},"issue":{"href":"https://api.github.com/repos/dmlc/xgboost/issues/2816"},"comments":{"href":"https://api.github.com/repos/dmlc/xgboost/issues/2816/comments"},"review_comments":{"href":"https://api.github.com/repos/dmlc/xgboost/pulls/2816/comments"},"review_comment":{"href":"https://api.github.com/repos/dmlc/xgboost/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmlc/xgboost/pulls/2816/commits"},"statuses":{"href":"https://api.github.com/repos/dmlc/xgboost/statuses/456c559af84a01a1316404c9da030ec827594a61"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"superbobry","id":185856,"avatar_url":"https://avatars1.githubusercontent.com/u/185856?v=4","gravatar_id":"","url":"https://api.github.com/users/superbobry","html_url":"https://github.com/superbobry","followers_url":"https://api.github.com/users/superbobry/followers","following_url":"https://api.github.com/users/superbobry/following{/other_user}","gists_url":"https://api.github.com/users/superbobry/gists{/gist_id}","starred_url":"https://api.github.com/users/superbobry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superbobry/subscriptions","organizations_url":"https://api.github.com/users/superbobry/orgs","repos_url":"https://api.github.com/users/superbobry/repos","events_url":"https://api.github.com/users/superbobry/events{/privacy}","received_events_url":"https://api.github.com/users/superbobry/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":6,"deletions":151,"changed_files":1}}
{"actor":{"display_login":"superbobry"}}