{"action":"created","comment":{"url":"https://api.github.com/repos/databricks/spark-perf/pulls/comments/36796607","id":36796607,"diff_hunk":"@@ -591,28 +623,72 @@ class DecisionTreeTest(sc: SparkContext) extends DecisionTreeTests(sc) {\n     if (labelType == 0) {\n       // Regression\n       ensembleType match {\n-        case \"RandomForest\" =>\n-          Left(RandomForest.trainRegressor(rdd, categoricalFeaturesInfo, numTrees, featureSubsetStrategy,\n-            \"variance\", treeDepth, maxBins, this.getRandomSeed))\n-        case \"GradientBoostedTrees\" =>\n+        case \"mllib.RandomForest\" =>\n+          MLlibRFModel(RandomForest.trainRegressor(rdd, categoricalFeaturesInfo, numTrees,\n+            featureSubsetStrategy, \"variance\", treeDepth, maxBins, this.getRandomSeed))\n+        case \"ml.RandomForest\" =>","path":"mllib-tests/v1p5/src/main/scala/mllib/perf/MLAlgorithmTests.scala","position":null,"original_position":114,"commit_id":"bbb9eeae8525ce831f1d8537b4618483784210cf","original_commit_id":"2ed3ff34ed0dbc14fa87dd394124a46d54c50fb6","user":{"login":"feynmanliang","id":990069,"avatar_url":"https://avatars.githubusercontent.com/u/990069?v=3","gravatar_id":"","url":"https://api.github.com/users/feynmanliang","html_url":"https://github.com/feynmanliang","followers_url":"https://api.github.com/users/feynmanliang/followers","following_url":"https://api.github.com/users/feynmanliang/following{/other_user}","gists_url":"https://api.github.com/users/feynmanliang/gists{/gist_id}","starred_url":"https://api.github.com/users/feynmanliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feynmanliang/subscriptions","organizations_url":"https://api.github.com/users/feynmanliang/orgs","repos_url":"https://api.github.com/users/feynmanliang/repos","events_url":"https://api.github.com/users/feynmanliang/events{/privacy}","received_events_url":"https://api.github.com/users/feynmanliang/received_events","type":"User","site_admin":false},"body":"OK","created_at":"2015-08-11T20:46:53Z","updated_at":"2015-08-11T20:46:53Z","html_url":"https://github.com/databricks/spark-perf/pull/83#discussion_r36796607","pull_request_url":"https://api.github.com/repos/databricks/spark-perf/pulls/83","_links":{"self":{"href":"https://api.github.com/repos/databricks/spark-perf/pulls/comments/36796607"},"html":{"href":"https://github.com/databricks/spark-perf/pull/83#discussion_r36796607"},"pull_request":{"href":"https://api.github.com/repos/databricks/spark-perf/pulls/83"}}},"pull_request":{"url":"https://api.github.com/repos/databricks/spark-perf/pulls/83","id":42079402,"html_url":"https://github.com/databricks/spark-perf/pull/83","diff_url":"https://github.com/databricks/spark-perf/pull/83.diff","patch_url":"https://github.com/databricks/spark-perf/pull/83.patch","issue_url":"https://api.github.com/repos/databricks/spark-perf/issues/83","number":83,"state":"open","locked":false,"title":"Add spark.ml Tree perf tests","user":{"login":"feynmanliang","id":990069,"avatar_url":"https://avatars.githubusercontent.com/u/990069?v=3","gravatar_id":"","url":"https://api.github.com/users/feynmanliang","html_url":"https://github.com/feynmanliang","followers_url":"https://api.github.com/users/feynmanliang/followers","following_url":"https://api.github.com/users/feynmanliang/following{/other_user}","gists_url":"https://api.github.com/users/feynmanliang/gists{/gist_id}","starred_url":"https://api.github.com/users/feynmanliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feynmanliang/subscriptions","organizations_url":"https://api.github.com/users/feynmanliang/orgs","repos_url":"https://api.github.com/users/feynmanliang/repos","events_url":"https://api.github.com/users/feynmanliang/events{/privacy}","received_events_url":"https://api.github.com/users/feynmanliang/received_events","type":"User","site_admin":false},"body":"Adds performance tests for Random Forests and GBDTS implemented in ML pipelines API.\r\n * Adds a coproduct type to support polymorphism in \"decision-tree\" tests\r\n * The perf-tests utilize the DataFrame API since the underlying models in ML are private. This makes performance dependent on Spark SQL\r\n\r\n@mengxr @jkbradley ","created_at":"2015-08-10T23:51:38Z","updated_at":"2015-08-11T20:46:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"739e4ad25af43ae7453e8d9a6e2d89923d7bd2da","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/databricks/spark-perf/pulls/83/commits","review_comments_url":"https://api.github.com/repos/databricks/spark-perf/pulls/83/comments","review_comment_url":"https://api.github.com/repos/databricks/spark-perf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/databricks/spark-perf/issues/83/comments","statuses_url":"https://api.github.com/repos/databricks/spark-perf/statuses/bbb9eeae8525ce831f1d8537b4618483784210cf","head":{"label":"feynmanliang:ml-tree-tests","ref":"ml-tree-tests","sha":"bbb9eeae8525ce831f1d8537b4618483784210cf","user":{"login":"feynmanliang","id":990069,"avatar_url":"https://avatars.githubusercontent.com/u/990069?v=3","gravatar_id":"","url":"https://api.github.com/users/feynmanliang","html_url":"https://github.com/feynmanliang","followers_url":"https://api.github.com/users/feynmanliang/followers","following_url":"https://api.github.com/users/feynmanliang/following{/other_user}","gists_url":"https://api.github.com/users/feynmanliang/gists{/gist_id}","starred_url":"https://api.github.com/users/feynmanliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feynmanliang/subscriptions","organizations_url":"https://api.github.com/users/feynmanliang/orgs","repos_url":"https://api.github.com/users/feynmanliang/repos","events_url":"https://api.github.com/users/feynmanliang/events{/privacy}","received_events_url":"https://api.github.com/users/feynmanliang/received_events","type":"User","site_admin":false},"repo":{"id":40147169,"name":"spark-perf","full_name":"feynmanliang/spark-perf","owner":{"login":"feynmanliang","id":990069,"avatar_url":"https://avatars.githubusercontent.com/u/990069?v=3","gravatar_id":"","url":"https://api.github.com/users/feynmanliang","html_url":"https://github.com/feynmanliang","followers_url":"https://api.github.com/users/feynmanliang/followers","following_url":"https://api.github.com/users/feynmanliang/following{/other_user}","gists_url":"https://api.github.com/users/feynmanliang/gists{/gist_id}","starred_url":"https://api.github.com/users/feynmanliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feynmanliang/subscriptions","organizations_url":"https://api.github.com/users/feynmanliang/orgs","repos_url":"https://api.github.com/users/feynmanliang/repos","events_url":"https://api.github.com/users/feynmanliang/events{/privacy}","received_events_url":"https://api.github.com/users/feynmanliang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/feynmanliang/spark-perf","description":"Performance tests for Spark","fork":true,"url":"https://api.github.com/repos/feynmanliang/spark-perf","forks_url":"https://api.github.com/repos/feynmanliang/spark-perf/forks","keys_url":"https://api.github.com/repos/feynmanliang/spark-perf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feynmanliang/spark-perf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feynmanliang/spark-perf/teams","hooks_url":"https://api.github.com/repos/feynmanliang/spark-perf/hooks","issue_events_url":"https://api.github.com/repos/feynmanliang/spark-perf/issues/events{/number}","events_url":"https://api.github.com/repos/feynmanliang/spark-perf/events","assignees_url":"https://api.github.com/repos/feynmanliang/spark-perf/assignees{/user}","branches_url":"https://api.github.com/repos/feynmanliang/spark-perf/branches{/branch}","tags_url":"https://api.github.com/repos/feynmanliang/spark-perf/tags","blobs_url":"https://api.github.com/repos/feynmanliang/spark-perf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feynmanliang/spark-perf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feynmanliang/spark-perf/git/refs{/sha}","trees_url":"https://api.github.com/repos/feynmanliang/spark-perf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feynmanliang/spark-perf/statuses/{sha}","languages_url":"https://api.github.com/repos/feynmanliang/spark-perf/languages","stargazers_url":"https://api.github.com/repos/feynmanliang/spark-perf/stargazers","contributors_url":"https://api.github.com/repos/feynmanliang/spark-perf/contributors","subscribers_url":"https://api.github.com/repos/feynmanliang/spark-perf/subscribers","subscription_url":"https://api.github.com/repos/feynmanliang/spark-perf/subscription","commits_url":"https://api.github.com/repos/feynmanliang/spark-perf/commits{/sha}","git_commits_url":"https://api.github.com/repos/feynmanliang/spark-perf/git/commits{/sha}","comments_url":"https://api.github.com/repos/feynmanliang/spark-perf/comments{/number}","issue_comment_url":"https://api.github.com/repos/feynmanliang/spark-perf/issues/comments{/number}","contents_url":"https://api.github.com/repos/feynmanliang/spark-perf/contents/{+path}","compare_url":"https://api.github.com/repos/feynmanliang/spark-perf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feynmanliang/spark-perf/merges","archive_url":"https://api.github.com/repos/feynmanliang/spark-perf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feynmanliang/spark-perf/downloads","issues_url":"https://api.github.com/repos/feynmanliang/spark-perf/issues{/number}","pulls_url":"https://api.github.com/repos/feynmanliang/spark-perf/pulls{/number}","milestones_url":"https://api.github.com/repos/feynmanliang/spark-perf/milestones{/number}","notifications_url":"https://api.github.com/repos/feynmanliang/spark-perf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feynmanliang/spark-perf/labels{/name}","releases_url":"https://api.github.com/repos/feynmanliang/spark-perf/releases{/id}","created_at":"2015-08-03T20:47:13Z","updated_at":"2015-08-03T20:47:13Z","pushed_at":"2015-08-11T20:46:16Z","git_url":"git://github.com/feynmanliang/spark-perf.git","ssh_url":"git@github.com:feynmanliang/spark-perf.git","clone_url":"https://github.com/feynmanliang/spark-perf.git","svn_url":"https://github.com/feynmanliang/spark-perf","homepage":null,"size":3394,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"databricks:master","ref":"master","sha":"f627233cf63ad26802f856b7da428896bd3492aa","user":{"login":"databricks","id":4998052,"avatar_url":"https://avatars.githubusercontent.com/u/4998052?v=3","gravatar_id":"","url":"https://api.github.com/users/databricks","html_url":"https://github.com/databricks","followers_url":"https://api.github.com/users/databricks/followers","following_url":"https://api.github.com/users/databricks/following{/other_user}","gists_url":"https://api.github.com/users/databricks/gists{/gist_id}","starred_url":"https://api.github.com/users/databricks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databricks/subscriptions","organizations_url":"https://api.github.com/users/databricks/orgs","repos_url":"https://api.github.com/users/databricks/repos","events_url":"https://api.github.com/users/databricks/events{/privacy}","received_events_url":"https://api.github.com/users/databricks/received_events","type":"Organization","site_admin":false},"repo":{"id":20941526,"name":"spark-perf","full_name":"databricks/spark-perf","owner":{"login":"databricks","id":4998052,"avatar_url":"https://avatars.githubusercontent.com/u/4998052?v=3","gravatar_id":"","url":"https://api.github.com/users/databricks","html_url":"https://github.com/databricks","followers_url":"https://api.github.com/users/databricks/followers","following_url":"https://api.github.com/users/databricks/following{/other_user}","gists_url":"https://api.github.com/users/databricks/gists{/gist_id}","starred_url":"https://api.github.com/users/databricks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databricks/subscriptions","organizations_url":"https://api.github.com/users/databricks/orgs","repos_url":"https://api.github.com/users/databricks/repos","events_url":"https://api.github.com/users/databricks/events{/privacy}","received_events_url":"https://api.github.com/users/databricks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/databricks/spark-perf","description":"Performance tests for Spark","fork":false,"url":"https://api.github.com/repos/databricks/spark-perf","forks_url":"https://api.github.com/repos/databricks/spark-perf/forks","keys_url":"https://api.github.com/repos/databricks/spark-perf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/databricks/spark-perf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/databricks/spark-perf/teams","hooks_url":"https://api.github.com/repos/databricks/spark-perf/hooks","issue_events_url":"https://api.github.com/repos/databricks/spark-perf/issues/events{/number}","events_url":"https://api.github.com/repos/databricks/spark-perf/events","assignees_url":"https://api.github.com/repos/databricks/spark-perf/assignees{/user}","branches_url":"https://api.github.com/repos/databricks/spark-perf/branches{/branch}","tags_url":"https://api.github.com/repos/databricks/spark-perf/tags","blobs_url":"https://api.github.com/repos/databricks/spark-perf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/databricks/spark-perf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/databricks/spark-perf/git/refs{/sha}","trees_url":"https://api.github.com/repos/databricks/spark-perf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/databricks/spark-perf/statuses/{sha}","languages_url":"https://api.github.com/repos/databricks/spark-perf/languages","stargazers_url":"https://api.github.com/repos/databricks/spark-perf/stargazers","contributors_url":"https://api.github.com/repos/databricks/spark-perf/contributors","subscribers_url":"https://api.github.com/repos/databricks/spark-perf/subscribers","subscription_url":"https://api.github.com/repos/databricks/spark-perf/subscription","commits_url":"https://api.github.com/repos/databricks/spark-perf/commits{/sha}","git_commits_url":"https://api.github.com/repos/databricks/spark-perf/git/commits{/sha}","comments_url":"https://api.github.com/repos/databricks/spark-perf/comments{/number}","issue_comment_url":"https://api.github.com/repos/databricks/spark-perf/issues/comments{/number}","contents_url":"https://api.github.com/repos/databricks/spark-perf/contents/{+path}","compare_url":"https://api.github.com/repos/databricks/spark-perf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/databricks/spark-perf/merges","archive_url":"https://api.github.com/repos/databricks/spark-perf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/databricks/spark-perf/downloads","issues_url":"https://api.github.com/repos/databricks/spark-perf/issues{/number}","pulls_url":"https://api.github.com/repos/databricks/spark-perf/pulls{/number}","milestones_url":"https://api.github.com/repos/databricks/spark-perf/milestones{/number}","notifications_url":"https://api.github.com/repos/databricks/spark-perf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/databricks/spark-perf/labels{/name}","releases_url":"https://api.github.com/repos/databricks/spark-perf/releases{/id}","created_at":"2014-06-17T22:25:40Z","updated_at":"2015-08-06T09:49:46Z","pushed_at":"2015-08-11T20:46:17Z","git_url":"git://github.com/databricks/spark-perf.git","ssh_url":"git@github.com:databricks/spark-perf.git","clone_url":"https://github.com/databricks/spark-perf.git","svn_url":"https://github.com/databricks/spark-perf","homepage":null,"size":4321,"stargazers_count":109,"watchers_count":109,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":81,"mirror_url":null,"open_issues_count":20,"forks":81,"open_issues":20,"watchers":109,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/databricks/spark-perf/pulls/83"},"html":{"href":"https://github.com/databricks/spark-perf/pull/83"},"issue":{"href":"https://api.github.com/repos/databricks/spark-perf/issues/83"},"comments":{"href":"https://api.github.com/repos/databricks/spark-perf/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/databricks/spark-perf/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/databricks/spark-perf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/databricks/spark-perf/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/databricks/spark-perf/statuses/bbb9eeae8525ce831f1d8537b4618483784210cf"}}}}