{"action":"created","comment":{"url":"https://api.github.com/repos/apache/spark/pulls/comments/85051191","pull_request_review_id":5789101,"id":85051191,"diff_hunk":"@@ -758,20 +758,21 @@ def __init__(self, featuresCol=\"features\", labelCol=\"label\", predictionCol=\"pred\n                  probabilityCol=\"probability\", rawPredictionCol=\"rawPrediction\",\n                  maxDepth=5, maxBins=32, minInstancesPerNode=1, minInfoGain=0.0,\n                  maxMemoryInMB=256, cacheNodeIds=False, checkpointInterval=10, impurity=\"gini\",\n-                 numTrees=20, featureSubsetStrategy=\"auto\", seed=None):\n+                 numTrees=20, featureSubsetStrategy=\"auto\", seed=None, subsamplingRate=1.0):","path":"python/pyspark/ml/classification.py","position":5,"original_position":5,"commit_id":"e734e01034b1fa4d3e3b3e48e7b233cd4008a40e","original_commit_id":"e734e01034b1fa4d3e3b3e48e7b233cd4008a40e","user":{"login":"wangmiao1981","id":5033592,"avatar_url":"https://avatars.githubusercontent.com/u/5033592?v=3","gravatar_id":"","url":"https://api.github.com/users/wangmiao1981","html_url":"https://github.com/wangmiao1981","followers_url":"https://api.github.com/users/wangmiao1981/followers","following_url":"https://api.github.com/users/wangmiao1981/following{/other_user}","gists_url":"https://api.github.com/users/wangmiao1981/gists{/gist_id}","starred_url":"https://api.github.com/users/wangmiao1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangmiao1981/subscriptions","organizations_url":"https://api.github.com/users/wangmiao1981/orgs","repos_url":"https://api.github.com/users/wangmiao1981/repos","events_url":"https://api.github.com/users/wangmiao1981/events{/privacy}","received_events_url":"https://api.github.com/users/wangmiao1981/received_events","type":"User","site_admin":false},"body":"Add some doc string tests?","created_at":"2016-10-26T05:25:16Z","updated_at":"2016-10-26T05:25:24Z","html_url":"https://github.com/apache/spark/pull/15638#discussion_r85051191","pull_request_url":"https://api.github.com/repos/apache/spark/pulls/15638","_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/comments/85051191"},"html":{"href":"https://github.com/apache/spark/pull/15638#discussion_r85051191"},"pull_request":{"href":"https://api.github.com/repos/apache/spark/pulls/15638"}}},"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/15638","id":90937164,"html_url":"https://github.com/apache/spark/pull/15638","diff_url":"https://github.com/apache/spark/pull/15638.diff","patch_url":"https://github.com/apache/spark/pull/15638.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/15638","number":15638,"state":"open","locked":false,"title":"[SPARK-18110][PYTHON][ML] add missing parameter in Python for RandomForest regression and classification","user":{"login":"felixcheung","id":8969467,"avatar_url":"https://avatars.githubusercontent.com/u/8969467?v=3","gravatar_id":"","url":"https://api.github.com/users/felixcheung","html_url":"https://github.com/felixcheung","followers_url":"https://api.github.com/users/felixcheung/followers","following_url":"https://api.github.com/users/felixcheung/following{/other_user}","gists_url":"https://api.github.com/users/felixcheung/gists{/gist_id}","starred_url":"https://api.github.com/users/felixcheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixcheung/subscriptions","organizations_url":"https://api.github.com/users/felixcheung/orgs","repos_url":"https://api.github.com/users/felixcheung/repos","events_url":"https://api.github.com/users/felixcheung/events{/privacy}","received_events_url":"https://api.github.com/users/felixcheung/received_events","type":"User","site_admin":false},"body":"## What changes were proposed in this pull request?\r\n\r\nAdd subsmaplingRate to randomForestClassifier\r\nAdd varianceCol to randomForestRegressor\r\nIn Python\r\n\r\n## How was this patch tested?\r\n\r\nmanual tests\r\n","created_at":"2016-10-26T05:04:42Z","updated_at":"2016-10-26T05:25:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca6fb36d86e0f9adb809587f7acf9f5536259628","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/15638/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/15638/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/15638/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/e734e01034b1fa4d3e3b3e48e7b233cd4008a40e","head":{"label":"felixcheung:pyrandomforest","ref":"pyrandomforest","sha":"e734e01034b1fa4d3e3b3e48e7b233cd4008a40e","user":{"login":"felixcheung","id":8969467,"avatar_url":"https://avatars.githubusercontent.com/u/8969467?v=3","gravatar_id":"","url":"https://api.github.com/users/felixcheung","html_url":"https://github.com/felixcheung","followers_url":"https://api.github.com/users/felixcheung/followers","following_url":"https://api.github.com/users/felixcheung/following{/other_user}","gists_url":"https://api.github.com/users/felixcheung/gists{/gist_id}","starred_url":"https://api.github.com/users/felixcheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixcheung/subscriptions","organizations_url":"https://api.github.com/users/felixcheung/orgs","repos_url":"https://api.github.com/users/felixcheung/repos","events_url":"https://api.github.com/users/felixcheung/events{/privacy}","received_events_url":"https://api.github.com/users/felixcheung/received_events","type":"User","site_admin":false},"repo":{"id":28383886,"name":"spark","full_name":"felixcheung/spark","owner":{"login":"felixcheung","id":8969467,"avatar_url":"https://avatars.githubusercontent.com/u/8969467?v=3","gravatar_id":"","url":"https://api.github.com/users/felixcheung","html_url":"https://github.com/felixcheung","followers_url":"https://api.github.com/users/felixcheung/followers","following_url":"https://api.github.com/users/felixcheung/following{/other_user}","gists_url":"https://api.github.com/users/felixcheung/gists{/gist_id}","starred_url":"https://api.github.com/users/felixcheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixcheung/subscriptions","organizations_url":"https://api.github.com/users/felixcheung/orgs","repos_url":"https://api.github.com/users/felixcheung/repos","events_url":"https://api.github.com/users/felixcheung/events{/privacy}","received_events_url":"https://api.github.com/users/felixcheung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/felixcheung/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/felixcheung/spark","forks_url":"https://api.github.com/repos/felixcheung/spark/forks","keys_url":"https://api.github.com/repos/felixcheung/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/felixcheung/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/felixcheung/spark/teams","hooks_url":"https://api.github.com/repos/felixcheung/spark/hooks","issue_events_url":"https://api.github.com/repos/felixcheung/spark/issues/events{/number}","events_url":"https://api.github.com/repos/felixcheung/spark/events","assignees_url":"https://api.github.com/repos/felixcheung/spark/assignees{/user}","branches_url":"https://api.github.com/repos/felixcheung/spark/branches{/branch}","tags_url":"https://api.github.com/repos/felixcheung/spark/tags","blobs_url":"https://api.github.com/repos/felixcheung/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/felixcheung/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/felixcheung/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/felixcheung/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/felixcheung/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/felixcheung/spark/languages","stargazers_url":"https://api.github.com/repos/felixcheung/spark/stargazers","contributors_url":"https://api.github.com/repos/felixcheung/spark/contributors","subscribers_url":"https://api.github.com/repos/felixcheung/spark/subscribers","subscription_url":"https://api.github.com/repos/felixcheung/spark/subscription","commits_url":"https://api.github.com/repos/felixcheung/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/felixcheung/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/felixcheung/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/felixcheung/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/felixcheung/spark/contents/{+path}","compare_url":"https://api.github.com/repos/felixcheung/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/felixcheung/spark/merges","archive_url":"https://api.github.com/repos/felixcheung/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/felixcheung/spark/downloads","issues_url":"https://api.github.com/repos/felixcheung/spark/issues{/number}","pulls_url":"https://api.github.com/repos/felixcheung/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/felixcheung/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/felixcheung/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/felixcheung/spark/labels{/name}","releases_url":"https://api.github.com/repos/felixcheung/spark/releases{/id}","deployments_url":"https://api.github.com/repos/felixcheung/spark/deployments","created_at":"2014-12-23T07:16:52Z","updated_at":"2015-03-08T00:47:37Z","pushed_at":"2016-10-26T05:02:55Z","git_url":"git://github.com/felixcheung/spark.git","ssh_url":"git@github.com:felixcheung/spark.git","clone_url":"https://github.com/felixcheung/spark.git","svn_url":"https://github.com/felixcheung/spark","homepage":null,"size":245370,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"branch-1.3"}},"base":{"label":"apache:master","ref":"master","sha":"12b3e8d2e02788c3bebfecdd69755e94d80011c9","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":17165658,"name":"spark","full_name":"apache/spark","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/spark","description":"Mirror of Apache Spark","fork":false,"url":"https://api.github.com/repos/apache/spark","forks_url":"https://api.github.com/repos/apache/spark/forks","keys_url":"https://api.github.com/repos/apache/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/spark/teams","hooks_url":"https://api.github.com/repos/apache/spark/hooks","issue_events_url":"https://api.github.com/repos/apache/spark/issues/events{/number}","events_url":"https://api.github.com/repos/apache/spark/events","assignees_url":"https://api.github.com/repos/apache/spark/assignees{/user}","branches_url":"https://api.github.com/repos/apache/spark/branches{/branch}","tags_url":"https://api.github.com/repos/apache/spark/tags","blobs_url":"https://api.github.com/repos/apache/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/spark/languages","stargazers_url":"https://api.github.com/repos/apache/spark/stargazers","contributors_url":"https://api.github.com/repos/apache/spark/contributors","subscribers_url":"https://api.github.com/repos/apache/spark/subscribers","subscription_url":"https://api.github.com/repos/apache/spark/subscription","commits_url":"https://api.github.com/repos/apache/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/spark/contents/{+path}","compare_url":"https://api.github.com/repos/apache/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/spark/merges","archive_url":"https://api.github.com/repos/apache/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/spark/downloads","issues_url":"https://api.github.com/repos/apache/spark/issues{/number}","pulls_url":"https://api.github.com/repos/apache/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/spark/labels{/name}","releases_url":"https://api.github.com/repos/apache/spark/releases{/id}","deployments_url":"https://api.github.com/repos/apache/spark/deployments","created_at":"2014-02-25T08:00:08Z","updated_at":"2016-10-26T05:16:54Z","pushed_at":"2016-10-26T05:20:30Z","git_url":"git://github.com/apache/spark.git","ssh_url":"git@github.com:apache/spark.git","clone_url":"https://github.com/apache/spark.git","svn_url":"https://github.com/apache/spark","homepage":null,"size":603294,"stargazers_count":10506,"watchers_count":10506,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9777,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":484,"forks":9777,"open_issues":484,"watchers":10506,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/15638"},"html":{"href":"https://github.com/apache/spark/pull/15638"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/15638"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/15638/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/15638/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/15638/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/e734e01034b1fa4d3e3b3e48e7b233cd4008a40e"}}}}
{"actor":{"display_login":"wangmiao1981"}}