GitHub PullRequestEvent at 2014-11-11 05:20:18
Repository: scipy
Actor: ChadFulton
Payload: {"action":"opened","number":4135,"pull_request":{"url":"https://api.github.com/repos/scipy/scipy/pulls/4135","id":24199156,"html_url":"https://github.com/scipy/scipy/pull/4135","diff_url":"https://github.com/scipy/scipy/pull/4135.diff","patch_url":"https://github.com/scipy/scipy/pull/4135.patch","issue_url":"https://api.github.com/repos/scipy/scipy/issues/4135","number":4135,"state":"open","locked":false,"title":"ENH: Add Wishart and inverse Wishart distributions","user":{"login":"ChadFulton","id":280864,"avatar_url":"https://avatars.githubusercontent.com/u/280864?v=3","gravatar_id":"","url":"https://api.github.com/users/ChadFulton","html_url":"https://github.com/ChadFulton","followers_url":"https://api.github.com/users/ChadFulton/followers","following_url":"https://api.github.com/users/ChadFulton/following{/other_user}","gists_url":"https://api.github.com/users/ChadFulton/gists{/gist_id}","starred_url":"https://api.github.com/users/ChadFulton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChadFulton/subscriptions","organizations_url":"https://api.github.com/users/ChadFulton/orgs","repos_url":"https://api.github.com/users/ChadFulton/repos","events_url":"https://api.github.com/users/ChadFulton/events{/privacy}","received_events_url":"https://api.github.com/users/ChadFulton/received_events","type":"User","site_admin":false},"body":"Adds `wishart` and `invwishart` to scipy.stats (also see #1063); Includes methods:\r\n\r\n- `logpdf`\r\n- `pdf`\r\n- `mean`\r\n- `mode`\r\n- `var`\r\n- `rvs`\r\n- `entropy` (for Wishart only)\r\n\r\n**Unit testing status**\r\n\r\nIn addition to dimensionality testing and testing the frozen against non-frozen output the unit tests current test the Wishart against the 1-dimensional special case of the chi-squared distribution and the inverse Wishart against the 1-dimensional special case of the inverse gamma distribution.\r\n\r\nThere are not many resources that I have found for multivariate testing (of e.g. pdf, mean, mode, etc.). I can test the PDF against the R package MCMCpack or probably PyMC, but I don't know of a source for testing the statistics or entropy.\r\n\r\nI am not sure how to do unit tests for `rvs`. I can do Monte Carlo-esque checks, but to get even 2 digits of precision requires > 10,000 draws.","created_at":"2014-11-11T05:20:18Z","updated_at":"2014-11-11T05:20:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scipy/scipy/pulls/4135/commits","review_comments_url":"https://api.github.com/repos/scipy/scipy/pulls/4135/comments","review_comment_url":"https://api.github.com/repos/scipy/scipy/pulls/comments/{number}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/4135/comments","statuses_url":"https://api.github.com/repos/scipy/scipy/statuses/60c2404bcf2734ced64bacf0b5db594f92117463","head":{"label":"ChadFulton:enh_wishart","ref":"enh_wishart","sha":"60c2404bcf2734ced64bacf0b5db594f92117463","user":{"login":"ChadFulton","id":280864,"avatar_url":"https://avatars.githubusercontent.com/u/280864?v=3","gravatar_id":"","url":"https://api.github.com/users/ChadFulton","html_url":"https://github.com/ChadFulton","followers_url":"https://api.github.com/users/ChadFulton/followers","following_url":"https://api.github.com/users/ChadFulton/following{/other_user}","gists_url":"https://api.github.com/users/ChadFulton/gists{/gist_id}","starred_url":"https://api.github.com/users/ChadFulton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChadFulton/subscriptions","organizations_url":"https://api.github.com/users/ChadFulton/orgs","repos_url":"https://api.github.com/users/ChadFulton/repos","events_url":"https://api.github.com/users/ChadFulton/events{/privacy}","received_events_url":"https://api.github.com/users/ChadFulton/received_events","type":"User","site_admin":false},"repo":{"id":20537788,"name":"scipy","full_name":"ChadFulton/scipy","owner":{"login":"ChadFulton","id":280864,"avatar_url":"https://avatars.githubusercontent.com/u/280864?v=3","gravatar_id":"","url":"https://api.github.com/users/ChadFulton","html_url":"https://github.com/ChadFulton","followers_url":"https://api.github.com/users/ChadFulton/followers","following_url":"https://api.github.com/users/ChadFulton/following{/other_user}","gists_url":"https://api.github.com/users/ChadFulton/gists{/gist_id}","starred_url":"https://api.github.com/users/ChadFulton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChadFulton/subscriptions","organizations_url":"https://api.github.com/users/ChadFulton/orgs","repos_url":"https://api.github.com/users/ChadFulton/repos","events_url":"https://api.github.com/users/ChadFulton/events{/privacy}","received_events_url":"https://api.github.com/users/ChadFulton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChadFulton/scipy","description":"Scipy library main repository","fork":true,"url":"https://api.github.com/repos/ChadFulton/scipy","forks_url":"https://api.github.com/repos/ChadFulton/scipy/forks","keys_url":"https://api.github.com/repos/ChadFulton/scipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChadFulton/scipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChadFulton/scipy/teams","hooks_url":"https://api.github.com/repos/ChadFulton/scipy/hooks","issue_events_url":"https://api.github.com/repos/ChadFulton/scipy/issues/events{/number}","events_url":"https://api.github.com/repos/ChadFulton/scipy/events","assignees_url":"https://api.github.com/repos/ChadFulton/scipy/assignees{/user}","branches_url":"https://api.github.com/repos/ChadFulton/scipy/branches{/branch}","tags_url":"https://api.github.com/repos/ChadFulton/scipy/tags","blobs_url":"https://api.github.com/repos/ChadFulton/scipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChadFulton/scipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChadFulton/scipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChadFulton/scipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChadFulton/scipy/statuses/{sha}","languages_url":"https://api.github.com/repos/ChadFulton/scipy/languages","stargazers_url":"https://api.github.com/repos/ChadFulton/scipy/stargazers","contributors_url":"https://api.github.com/repos/ChadFulton/scipy/contributors","subscribers_url":"https://api.github.com/repos/ChadFulton/scipy/subscribers","subscription_url":"https://api.github.com/repos/ChadFulton/scipy/subscription","commits_url":"https://api.github.com/repos/ChadFulton/scipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChadFulton/scipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChadFulton/scipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChadFulton/scipy/issues/comments/{number}","contents_url":"https://api.github.com/repos/ChadFulton/scipy/contents/{+path}","compare_url":"https://api.github.com/repos/ChadFulton/scipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChadFulton/scipy/merges","archive_url":"https://api.github.com/repos/ChadFulton/scipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChadFulton/scipy/downloads","issues_url":"https://api.github.com/repos/ChadFulton/scipy/issues{/number}","pulls_url":"https://api.github.com/repos/ChadFulton/scipy/pulls{/number}","milestones_url":"https://api.github.com/repos/ChadFulton/scipy/milestones{/number}","notifications_url":"https://api.github.com/repos/ChadFulton/scipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChadFulton/scipy/labels{/name}","releases_url":"https://api.github.com/repos/ChadFulton/scipy/releases{/id}","created_at":"2014-06-05T19:11:27Z","updated_at":"2014-11-09T21:02:53Z","pushed_at":"2014-11-11T05:09:53Z","git_url":"git://github.com/ChadFulton/scipy.git","ssh_url":"git@github.com:ChadFulton/scipy.git","clone_url":"https://github.com/ChadFulton/scipy.git","svn_url":"https://github.com/ChadFulton/scipy","homepage":"http://scipy.org/scipylib/","size":51186,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"scipy:master","ref":"master","sha":"6d25d7ef2763dbbd3ac0bcca53862776fbb611df","user":{"login":"scipy","id":288277,"avatar_url":"https://avatars.githubusercontent.com/u/288277?v=3","gravatar_id":"","url":"https://api.github.com/users/scipy","html_url":"https://github.com/scipy","followers_url":"https://api.github.com/users/scipy/followers","following_url":"https://api.github.com/users/scipy/following{/other_user}","gists_url":"https://api.github.com/users/scipy/gists{/gist_id}","starred_url":"https://api.github.com/users/scipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scipy/subscriptions","organizations_url":"https://api.github.com/users/scipy/orgs","repos_url":"https://api.github.com/users/scipy/repos","events_url":"https://api.github.com/users/scipy/events{/privacy}","received_events_url":"https://api.github.com/users/scipy/received_events","type":"Organization","site_admin":false},"repo":{"id":1460385,"name":"scipy","full_name":"scipy/scipy","owner":{"login":"scipy","id":288277,"avatar_url":"https://avatars.githubusercontent.com/u/288277?v=3","gravatar_id":"","url":"https://api.github.com/users/scipy","html_url":"https://github.com/scipy","followers_url":"https://api.github.com/users/scipy/followers","following_url":"https://api.github.com/users/scipy/following{/other_user}","gists_url":"https://api.github.com/users/scipy/gists{/gist_id}","starred_url":"https://api.github.com/users/scipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scipy/subscriptions","organizations_url":"https://api.github.com/users/scipy/orgs","repos_url":"https://api.github.com/users/scipy/repos","events_url":"https://api.github.com/users/scipy/events{/privacy}","received_events_url":"https://api.github.com/users/scipy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scipy/scipy","description":"Scipy library main repository","fork":false,"url":"https://api.github.com/repos/scipy/scipy","forks_url":"https://api.github.com/repos/scipy/scipy/forks","keys_url":"https://api.github.com/repos/scipy/scipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scipy/scipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scipy/scipy/teams","hooks_url":"https://api.github.com/repos/scipy/scipy/hooks","issue_events_url":"https://api.github.com/repos/scipy/scipy/issues/events{/number}","events_url":"https://api.github.com/repos/scipy/scipy/events","assignees_url":"https://api.github.com/repos/scipy/scipy/assignees{/user}","branches_url":"https://api.github.com/repos/scipy/scipy/branches{/branch}","tags_url":"https://api.github.com/repos/scipy/scipy/tags","blobs_url":"https://api.github.com/repos/scipy/scipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scipy/scipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scipy/scipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/scipy/scipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scipy/scipy/statuses/{sha}","languages_url":"https://api.github.com/repos/scipy/scipy/languages","stargazers_url":"https://api.github.com/repos/scipy/scipy/stargazers","contributors_url":"https://api.github.com/repos/scipy/scipy/contributors","subscribers_url":"https://api.github.com/repos/scipy/scipy/subscribers","subscription_url":"https://api.github.com/repos/scipy/scipy/subscription","commits_url":"https://api.github.com/repos/scipy/scipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/scipy/scipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/scipy/scipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/scipy/scipy/issues/comments/{number}","contents_url":"https://api.github.com/repos/scipy/scipy/contents/{+path}","compare_url":"https://api.github.com/repos/scipy/scipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scipy/scipy/merges","archive_url":"https://api.github.com/repos/scipy/scipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scipy/scipy/downloads","issues_url":"https://api.github.com/repos/scipy/scipy/issues{/number}","pulls_url":"https://api.github.com/repos/scipy/scipy/pulls{/number}","milestones_url":"https://api.github.com/repos/scipy/scipy/milestones{/number}","notifications_url":"https://api.github.com/repos/scipy/scipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scipy/scipy/labels{/name}","releases_url":"https://api.github.com/repos/scipy/scipy/releases{/id}","created_at":"2011-03-09T18:52:03Z","updated_at":"2014-11-10T21:43:07Z","pushed_at":"2014-11-09T20:49:00Z","git_url":"git://github.com/scipy/scipy.git","ssh_url":"git@github.com:scipy/scipy.git","clone_url":"https://github.com/scipy/scipy.git","svn_url":"https://github.com/scipy/scipy","homepage":"http://scipy.org/scipylib/","size":84616,"stargazers_count":1334,"watchers_count":1334,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":706,"mirror_url":null,"open_issues_count":743,"forks":706,"open_issues":743,"watchers":1334,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scipy/scipy/pulls/4135"},"html":{"href":"https://github.com/scipy/scipy/pull/4135"},"issue":{"href":"https://api.github.com/repos/scipy/scipy/issues/4135"},"comments":{"href":"https://api.github.com/repos/scipy/scipy/issues/4135/comments"},"review_comments":{"href":"https://api.github.com/repos/scipy/scipy/pulls/4135/comments"},"review_comment":{"href":"https://api.github.com/repos/scipy/scipy/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/scipy/scipy/pulls/4135/commits"},"statuses":{"href":"https://api.github.com/repos/scipy/scipy/statuses/60c2404bcf2734ced64bacf0b5db594f92117463"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1295,"deletions":2,"changed_files":3}}