{"action":"opened","number":167,"pull_request":{"url":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/167","id":44718258,"html_url":"https://github.com/zachmayer/caretEnsemble/pull/167","diff_url":"https://github.com/zachmayer/caretEnsemble/pull/167.diff","patch_url":"https://github.com/zachmayer/caretEnsemble/pull/167.patch","issue_url":"https://api.github.com/repos/zachmayer/caretEnsemble/issues/167","number":167,"state":"open","locked":false,"title":"Fixing prediction methods to be more standardized","user":{"login":"jknowles","id":1310474,"avatar_url":"https://avatars.githubusercontent.com/u/1310474?v=3","gravatar_id":"","url":"https://api.github.com/users/jknowles","html_url":"https://github.com/jknowles","followers_url":"https://api.github.com/users/jknowles/followers","following_url":"https://api.github.com/users/jknowles/following{/other_user}","gists_url":"https://api.github.com/users/jknowles/gists{/gist_id}","starred_url":"https://api.github.com/users/jknowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jknowles/subscriptions","organizations_url":"https://api.github.com/users/jknowles/orgs","repos_url":"https://api.github.com/users/jknowles/repos","events_url":"https://api.github.com/users/jknowles/events{/privacy}","received_events_url":"https://api.github.com/users/jknowles/received_events","type":"User","site_admin":false},"body":"This PR addresses #165 and #158 by making sure that `predict.caretEnsemble` and `predict.caretStack` provide similar output and have similar inputs. There are also large changes to the unit tests to make sure that the tests now test the correct structure for the output from these two functions. \r\n\r\n`predict.caretStack` is particularly heavily modified here -- it now can produce prediction errors based on the model disagreement about each observation, mimicking the behavior of `predict.caretEnsemble`. It uses the variable importance of each models' predictions in the stacked model to define the weights. When these predictions are transformed before ensembling, no standard error is returned or calculated, but the variable importance can still be returned as a `weights` attribute to the outputted vector. ","created_at":"2015-09-10T20:55:54Z","updated_at":"2015-09-10T20:55:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/167/commits","review_comments_url":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/167/comments","review_comment_url":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zachmayer/caretEnsemble/issues/167/comments","statuses_url":"https://api.github.com/repos/zachmayer/caretEnsemble/statuses/c4cd3d6dc6279c7b70394426515e055d5e1bccc2","head":{"label":"jknowles:master","ref":"master","sha":"c4cd3d6dc6279c7b70394426515e055d5e1bccc2","user":{"login":"jknowles","id":1310474,"avatar_url":"https://avatars.githubusercontent.com/u/1310474?v=3","gravatar_id":"","url":"https://api.github.com/users/jknowles","html_url":"https://github.com/jknowles","followers_url":"https://api.github.com/users/jknowles/followers","following_url":"https://api.github.com/users/jknowles/following{/other_user}","gists_url":"https://api.github.com/users/jknowles/gists{/gist_id}","starred_url":"https://api.github.com/users/jknowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jknowles/subscriptions","organizations_url":"https://api.github.com/users/jknowles/orgs","repos_url":"https://api.github.com/users/jknowles/repos","events_url":"https://api.github.com/users/jknowles/events{/privacy}","received_events_url":"https://api.github.com/users/jknowles/received_events","type":"User","site_admin":false},"repo":{"id":16965502,"name":"caretEnsemble","full_name":"jknowles/caretEnsemble","owner":{"login":"jknowles","id":1310474,"avatar_url":"https://avatars.githubusercontent.com/u/1310474?v=3","gravatar_id":"","url":"https://api.github.com/users/jknowles","html_url":"https://github.com/jknowles","followers_url":"https://api.github.com/users/jknowles/followers","following_url":"https://api.github.com/users/jknowles/following{/other_user}","gists_url":"https://api.github.com/users/jknowles/gists{/gist_id}","starred_url":"https://api.github.com/users/jknowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jknowles/subscriptions","organizations_url":"https://api.github.com/users/jknowles/orgs","repos_url":"https://api.github.com/users/jknowles/repos","events_url":"https://api.github.com/users/jknowles/events{/privacy}","received_events_url":"https://api.github.com/users/jknowles/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jknowles/caretEnsemble","description":"Ensemble","fork":true,"url":"https://api.github.com/repos/jknowles/caretEnsemble","forks_url":"https://api.github.com/repos/jknowles/caretEnsemble/forks","keys_url":"https://api.github.com/repos/jknowles/caretEnsemble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jknowles/caretEnsemble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jknowles/caretEnsemble/teams","hooks_url":"https://api.github.com/repos/jknowles/caretEnsemble/hooks","issue_events_url":"https://api.github.com/repos/jknowles/caretEnsemble/issues/events{/number}","events_url":"https://api.github.com/repos/jknowles/caretEnsemble/events","assignees_url":"https://api.github.com/repos/jknowles/caretEnsemble/assignees{/user}","branches_url":"https://api.github.com/repos/jknowles/caretEnsemble/branches{/branch}","tags_url":"https://api.github.com/repos/jknowles/caretEnsemble/tags","blobs_url":"https://api.github.com/repos/jknowles/caretEnsemble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jknowles/caretEnsemble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jknowles/caretEnsemble/git/refs{/sha}","trees_url":"https://api.github.com/repos/jknowles/caretEnsemble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jknowles/caretEnsemble/statuses/{sha}","languages_url":"https://api.github.com/repos/jknowles/caretEnsemble/languages","stargazers_url":"https://api.github.com/repos/jknowles/caretEnsemble/stargazers","contributors_url":"https://api.github.com/repos/jknowles/caretEnsemble/contributors","subscribers_url":"https://api.github.com/repos/jknowles/caretEnsemble/subscribers","subscription_url":"https://api.github.com/repos/jknowles/caretEnsemble/subscription","commits_url":"https://api.github.com/repos/jknowles/caretEnsemble/commits{/sha}","git_commits_url":"https://api.github.com/repos/jknowles/caretEnsemble/git/commits{/sha}","comments_url":"https://api.github.com/repos/jknowles/caretEnsemble/comments{/number}","issue_comment_url":"https://api.github.com/repos/jknowles/caretEnsemble/issues/comments{/number}","contents_url":"https://api.github.com/repos/jknowles/caretEnsemble/contents/{+path}","compare_url":"https://api.github.com/repos/jknowles/caretEnsemble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jknowles/caretEnsemble/merges","archive_url":"https://api.github.com/repos/jknowles/caretEnsemble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jknowles/caretEnsemble/downloads","issues_url":"https://api.github.com/repos/jknowles/caretEnsemble/issues{/number}","pulls_url":"https://api.github.com/repos/jknowles/caretEnsemble/pulls{/number}","milestones_url":"https://api.github.com/repos/jknowles/caretEnsemble/milestones{/number}","notifications_url":"https://api.github.com/repos/jknowles/caretEnsemble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jknowles/caretEnsemble/labels{/name}","releases_url":"https://api.github.com/repos/jknowles/caretEnsemble/releases{/id}","created_at":"2014-02-18T22:06:30Z","updated_at":"2015-01-31T05:52:55Z","pushed_at":"2015-09-10T20:52:10Z","git_url":"git://github.com/jknowles/caretEnsemble.git","ssh_url":"git@github.com:jknowles/caretEnsemble.git","clone_url":"https://github.com/jknowles/caretEnsemble.git","svn_url":"https://github.com/jknowles/caretEnsemble","homepage":null,"size":10393,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zachmayer:master","ref":"master","sha":"08831b0baf4b9b1d13373a899ac3eb7734aa56c9","user":{"login":"zachmayer","id":581590,"avatar_url":"https://avatars.githubusercontent.com/u/581590?v=3","gravatar_id":"","url":"https://api.github.com/users/zachmayer","html_url":"https://github.com/zachmayer","followers_url":"https://api.github.com/users/zachmayer/followers","following_url":"https://api.github.com/users/zachmayer/following{/other_user}","gists_url":"https://api.github.com/users/zachmayer/gists{/gist_id}","starred_url":"https://api.github.com/users/zachmayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachmayer/subscriptions","organizations_url":"https://api.github.com/users/zachmayer/orgs","repos_url":"https://api.github.com/users/zachmayer/repos","events_url":"https://api.github.com/users/zachmayer/events{/privacy}","received_events_url":"https://api.github.com/users/zachmayer/received_events","type":"User","site_admin":false},"repo":{"id":8510365,"name":"caretEnsemble","full_name":"zachmayer/caretEnsemble","owner":{"login":"zachmayer","id":581590,"avatar_url":"https://avatars.githubusercontent.com/u/581590?v=3","gravatar_id":"","url":"https://api.github.com/users/zachmayer","html_url":"https://github.com/zachmayer","followers_url":"https://api.github.com/users/zachmayer/followers","following_url":"https://api.github.com/users/zachmayer/following{/other_user}","gists_url":"https://api.github.com/users/zachmayer/gists{/gist_id}","starred_url":"https://api.github.com/users/zachmayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachmayer/subscriptions","organizations_url":"https://api.github.com/users/zachmayer/orgs","repos_url":"https://api.github.com/users/zachmayer/repos","events_url":"https://api.github.com/users/zachmayer/events{/privacy}","received_events_url":"https://api.github.com/users/zachmayer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zachmayer/caretEnsemble","description":"caret models all the way down :turtle:","fork":false,"url":"https://api.github.com/repos/zachmayer/caretEnsemble","forks_url":"https://api.github.com/repos/zachmayer/caretEnsemble/forks","keys_url":"https://api.github.com/repos/zachmayer/caretEnsemble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zachmayer/caretEnsemble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zachmayer/caretEnsemble/teams","hooks_url":"https://api.github.com/repos/zachmayer/caretEnsemble/hooks","issue_events_url":"https://api.github.com/repos/zachmayer/caretEnsemble/issues/events{/number}","events_url":"https://api.github.com/repos/zachmayer/caretEnsemble/events","assignees_url":"https://api.github.com/repos/zachmayer/caretEnsemble/assignees{/user}","branches_url":"https://api.github.com/repos/zachmayer/caretEnsemble/branches{/branch}","tags_url":"https://api.github.com/repos/zachmayer/caretEnsemble/tags","blobs_url":"https://api.github.com/repos/zachmayer/caretEnsemble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zachmayer/caretEnsemble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zachmayer/caretEnsemble/git/refs{/sha}","trees_url":"https://api.github.com/repos/zachmayer/caretEnsemble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zachmayer/caretEnsemble/statuses/{sha}","languages_url":"https://api.github.com/repos/zachmayer/caretEnsemble/languages","stargazers_url":"https://api.github.com/repos/zachmayer/caretEnsemble/stargazers","contributors_url":"https://api.github.com/repos/zachmayer/caretEnsemble/contributors","subscribers_url":"https://api.github.com/repos/zachmayer/caretEnsemble/subscribers","subscription_url":"https://api.github.com/repos/zachmayer/caretEnsemble/subscription","commits_url":"https://api.github.com/repos/zachmayer/caretEnsemble/commits{/sha}","git_commits_url":"https://api.github.com/repos/zachmayer/caretEnsemble/git/commits{/sha}","comments_url":"https://api.github.com/repos/zachmayer/caretEnsemble/comments{/number}","issue_comment_url":"https://api.github.com/repos/zachmayer/caretEnsemble/issues/comments{/number}","contents_url":"https://api.github.com/repos/zachmayer/caretEnsemble/contents/{+path}","compare_url":"https://api.github.com/repos/zachmayer/caretEnsemble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zachmayer/caretEnsemble/merges","archive_url":"https://api.github.com/repos/zachmayer/caretEnsemble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zachmayer/caretEnsemble/downloads","issues_url":"https://api.github.com/repos/zachmayer/caretEnsemble/issues{/number}","pulls_url":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls{/number}","milestones_url":"https://api.github.com/repos/zachmayer/caretEnsemble/milestones{/number}","notifications_url":"https://api.github.com/repos/zachmayer/caretEnsemble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zachmayer/caretEnsemble/labels{/name}","releases_url":"https://api.github.com/repos/zachmayer/caretEnsemble/releases{/id}","created_at":"2013-03-01T21:10:22Z","updated_at":"2015-09-10T20:18:22Z","pushed_at":"2015-09-10T20:55:54Z","git_url":"git://github.com/zachmayer/caretEnsemble.git","ssh_url":"git@github.com:zachmayer/caretEnsemble.git","clone_url":"https://github.com/zachmayer/caretEnsemble.git","svn_url":"https://github.com/zachmayer/caretEnsemble","homepage":"","size":21780,"stargazers_count":72,"watchers_count":72,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":48,"forks":30,"open_issues":48,"watchers":72,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/167"},"html":{"href":"https://github.com/zachmayer/caretEnsemble/pull/167"},"issue":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/issues/167"},"comments":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/167/comments"},"review_comment":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/pulls/167/commits"},"statuses":{"href":"https://api.github.com/repos/zachmayer/caretEnsemble/statuses/c4cd3d6dc6279c7b70394426515e055d5e1bccc2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":264,"deletions":194,"changed_files":13}}