{"action":"created","comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/comments/22420327","id":22420327,"diff_hunk":"@@ -426,7 +426,7 @@ def fit_transform(self, X, y=None, **fit_params):\n             Training vectors, where n_samples in the number of samples and\n             q is the number of response variables.\n \n-        copy : boolean\n+        copy : boolean, default True","path":"sklearn/cross_decomposition/pls_.py","position":14,"original_position":32,"commit_id":"81cbe74f011461bb32891649556bbbd017fbf8fc","original_commit_id":"19e8e12b90814d5f58e755151e97f102fc707586","user":{"login":"amueller","id":449558,"avatar_url":"https://avatars.githubusercontent.com/u/449558?v=3","gravatar_id":"","url":"https://api.github.com/users/amueller","html_url":"https://github.com/amueller","followers_url":"https://api.github.com/users/amueller/followers","following_url":"https://api.github.com/users/amueller/following{/other_user}","gists_url":"https://api.github.com/users/amueller/gists{/gist_id}","starred_url":"https://api.github.com/users/amueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amueller/subscriptions","organizations_url":"https://api.github.com/users/amueller/orgs","repos_url":"https://api.github.com/users/amueller/repos","events_url":"https://api.github.com/users/amueller/events{/privacy}","received_events_url":"https://api.github.com/users/amueller/received_events","type":"User","site_admin":false},"body":"I agree with @jnothman. I don't like \"optional\" in 90% of the cases but we should keep this pr on topic.","created_at":"2015-01-02T19:45:08Z","updated_at":"2015-01-02T19:45:08Z","html_url":"https://github.com/scikit-learn/scikit-learn/pull/4023#discussion_r22420327","pull_request_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/4023","_links":{"self":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/comments/22420327"},"html":{"href":"https://github.com/scikit-learn/scikit-learn/pull/4023#discussion_r22420327"},"pull_request":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/4023"}}},"pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/4023","id":26631232,"html_url":"https://github.com/scikit-learn/scikit-learn/pull/4023","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/4023.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/4023.patch","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4023","number":4023,"state":"open","locked":false,"title":"[MRG] Fix doc signature mismatch","user":{"login":"ragv","id":9487348,"avatar_url":"https://avatars.githubusercontent.com/u/9487348?v=3","gravatar_id":"","url":"https://api.github.com/users/ragv","html_url":"https://github.com/ragv","followers_url":"https://api.github.com/users/ragv/followers","following_url":"https://api.github.com/users/ragv/following{/other_user}","gists_url":"https://api.github.com/users/ragv/gists{/gist_id}","starred_url":"https://api.github.com/users/ragv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ragv/subscriptions","organizations_url":"https://api.github.com/users/ragv/orgs","repos_url":"https://api.github.com/users/ragv/repos","events_url":"https://api.github.com/users/ragv/events{/privacy}","received_events_url":"https://api.github.com/users/ragv/received_events","type":"User","site_admin":false},"body":"Fixes #2062 \r\n\r\n- [x] Make all docstrings match with signatures. ( 120 / 120 )\r\n- [x] Rename invalid sections to valid numpy defined sections\r\n  * `Caveats` --> `Notes`\r\n  * `Reference` --> `References`\r\n  * `Example` --> `Examples` etc...\r\n- [x] Cross check and scavenge #2084 for reviews / improvised docstrings etc...\r\n- [x] Add Joel's [script](https://github.com/jnothman/scikit-learn/blob/test_docstring_parameters/test_docstring_parameters.py) as a test\r\n- [x] Include support for warnings ( Invalid section names are raised as warnings )\r\n- [x] Ignore abstract  methods ( like `sklearn.decomposition.base._BasePCA.fit` )\r\n- [ ] Replace `FIXME` ( in docstring ) with relevant text...\r\n\r\n~~Consistently remove `optional` across all docstrings and specify the `default` value directly...~~\r\n\r\n@jnothman @amueller @NelleV Kindly take a look... ","created_at":"2014-12-29T03:25:54Z","updated_at":"2015-01-02T19:45:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b3fb97bbaaa4f5fc4c305df23fd3a80b9131f14","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/4023/commits","review_comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/4023/comments","review_comment_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/comments/{number}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4023/comments","statuses_url":"https://api.github.com/repos/scikit-learn/scikit-learn/statuses/81cbe74f011461bb32891649556bbbd017fbf8fc","head":{"label":"ragv:fix_doc_signature_mismatch","ref":"fix_doc_signature_mismatch","sha":"81cbe74f011461bb32891649556bbbd017fbf8fc","user":{"login":"ragv","id":9487348,"avatar_url":"https://avatars.githubusercontent.com/u/9487348?v=3","gravatar_id":"","url":"https://api.github.com/users/ragv","html_url":"https://github.com/ragv","followers_url":"https://api.github.com/users/ragv/followers","following_url":"https://api.github.com/users/ragv/following{/other_user}","gists_url":"https://api.github.com/users/ragv/gists{/gist_id}","starred_url":"https://api.github.com/users/ragv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ragv/subscriptions","organizations_url":"https://api.github.com/users/ragv/orgs","repos_url":"https://api.github.com/users/ragv/repos","events_url":"https://api.github.com/users/ragv/events{/privacy}","received_events_url":"https://api.github.com/users/ragv/received_events","type":"User","site_admin":false},"repo":{"id":26038110,"name":"scikit-learn","full_name":"ragv/scikit-learn","owner":{"login":"ragv","id":9487348,"avatar_url":"https://avatars.githubusercontent.com/u/9487348?v=3","gravatar_id":"","url":"https://api.github.com/users/ragv","html_url":"https://github.com/ragv","followers_url":"https://api.github.com/users/ragv/followers","following_url":"https://api.github.com/users/ragv/following{/other_user}","gists_url":"https://api.github.com/users/ragv/gists{/gist_id}","starred_url":"https://api.github.com/users/ragv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ragv/subscriptions","organizations_url":"https://api.github.com/users/ragv/orgs","repos_url":"https://api.github.com/users/ragv/repos","events_url":"https://api.github.com/users/ragv/events{/privacy}","received_events_url":"https://api.github.com/users/ragv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ragv/scikit-learn","description":"scikit-learn: machine learning in Python","fork":true,"url":"https://api.github.com/repos/ragv/scikit-learn","forks_url":"https://api.github.com/repos/ragv/scikit-learn/forks","keys_url":"https://api.github.com/repos/ragv/scikit-learn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ragv/scikit-learn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ragv/scikit-learn/teams","hooks_url":"https://api.github.com/repos/ragv/scikit-learn/hooks","issue_events_url":"https://api.github.com/repos/ragv/scikit-learn/issues/events{/number}","events_url":"https://api.github.com/repos/ragv/scikit-learn/events","assignees_url":"https://api.github.com/repos/ragv/scikit-learn/assignees{/user}","branches_url":"https://api.github.com/repos/ragv/scikit-learn/branches{/branch}","tags_url":"https://api.github.com/repos/ragv/scikit-learn/tags","blobs_url":"https://api.github.com/repos/ragv/scikit-learn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ragv/scikit-learn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ragv/scikit-learn/git/refs{/sha}","trees_url":"https://api.github.com/repos/ragv/scikit-learn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ragv/scikit-learn/statuses/{sha}","languages_url":"https://api.github.com/repos/ragv/scikit-learn/languages","stargazers_url":"https://api.github.com/repos/ragv/scikit-learn/stargazers","contributors_url":"https://api.github.com/repos/ragv/scikit-learn/contributors","subscribers_url":"https://api.github.com/repos/ragv/scikit-learn/subscribers","subscription_url":"https://api.github.com/repos/ragv/scikit-learn/subscription","commits_url":"https://api.github.com/repos/ragv/scikit-learn/commits{/sha}","git_commits_url":"https://api.github.com/repos/ragv/scikit-learn/git/commits{/sha}","comments_url":"https://api.github.com/repos/ragv/scikit-learn/comments{/number}","issue_comment_url":"https://api.github.com/repos/ragv/scikit-learn/issues/comments/{number}","contents_url":"https://api.github.com/repos/ragv/scikit-learn/contents/{+path}","compare_url":"https://api.github.com/repos/ragv/scikit-learn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ragv/scikit-learn/merges","archive_url":"https://api.github.com/repos/ragv/scikit-learn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ragv/scikit-learn/downloads","issues_url":"https://api.github.com/repos/ragv/scikit-learn/issues{/number}","pulls_url":"https://api.github.com/repos/ragv/scikit-learn/pulls{/number}","milestones_url":"https://api.github.com/repos/ragv/scikit-learn/milestones{/number}","notifications_url":"https://api.github.com/repos/ragv/scikit-learn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ragv/scikit-learn/labels{/name}","releases_url":"https://api.github.com/repos/ragv/scikit-learn/releases{/id}","created_at":"2014-11-01T00:56:31Z","updated_at":"2014-12-30T18:25:54Z","pushed_at":"2015-01-02T19:44:07Z","git_url":"git://github.com/ragv/scikit-learn.git","ssh_url":"git@github.com:ragv/scikit-learn.git","clone_url":"https://github.com/ragv/scikit-learn.git","svn_url":"https://github.com/ragv/scikit-learn","homepage":"http://scikit-learn.org","size":59003,"stargazers_count":0,"watchers_count":0,"language":"C","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":"scikit-learn:master","ref":"master","sha":"d5c72f327035114755a1a12c86c05e4b265d1afb","user":{"login":"scikit-learn","id":365630,"avatar_url":"https://avatars.githubusercontent.com/u/365630?v=3","gravatar_id":"","url":"https://api.github.com/users/scikit-learn","html_url":"https://github.com/scikit-learn","followers_url":"https://api.github.com/users/scikit-learn/followers","following_url":"https://api.github.com/users/scikit-learn/following{/other_user}","gists_url":"https://api.github.com/users/scikit-learn/gists{/gist_id}","starred_url":"https://api.github.com/users/scikit-learn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scikit-learn/subscriptions","organizations_url":"https://api.github.com/users/scikit-learn/orgs","repos_url":"https://api.github.com/users/scikit-learn/repos","events_url":"https://api.github.com/users/scikit-learn/events{/privacy}","received_events_url":"https://api.github.com/users/scikit-learn/received_events","type":"Organization","site_admin":false},"repo":{"id":843222,"name":"scikit-learn","full_name":"scikit-learn/scikit-learn","owner":{"login":"scikit-learn","id":365630,"avatar_url":"https://avatars.githubusercontent.com/u/365630?v=3","gravatar_id":"","url":"https://api.github.com/users/scikit-learn","html_url":"https://github.com/scikit-learn","followers_url":"https://api.github.com/users/scikit-learn/followers","following_url":"https://api.github.com/users/scikit-learn/following{/other_user}","gists_url":"https://api.github.com/users/scikit-learn/gists{/gist_id}","starred_url":"https://api.github.com/users/scikit-learn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scikit-learn/subscriptions","organizations_url":"https://api.github.com/users/scikit-learn/orgs","repos_url":"https://api.github.com/users/scikit-learn/repos","events_url":"https://api.github.com/users/scikit-learn/events{/privacy}","received_events_url":"https://api.github.com/users/scikit-learn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scikit-learn/scikit-learn","description":"scikit-learn: machine learning in Python","fork":false,"url":"https://api.github.com/repos/scikit-learn/scikit-learn","forks_url":"https://api.github.com/repos/scikit-learn/scikit-learn/forks","keys_url":"https://api.github.com/repos/scikit-learn/scikit-learn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scikit-learn/scikit-learn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scikit-learn/scikit-learn/teams","hooks_url":"https://api.github.com/repos/scikit-learn/scikit-learn/hooks","issue_events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/events{/number}","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/events","assignees_url":"https://api.github.com/repos/scikit-learn/scikit-learn/assignees{/user}","branches_url":"https://api.github.com/repos/scikit-learn/scikit-learn/branches{/branch}","tags_url":"https://api.github.com/repos/scikit-learn/scikit-learn/tags","blobs_url":"https://api.github.com/repos/scikit-learn/scikit-learn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scikit-learn/scikit-learn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scikit-learn/scikit-learn/git/refs{/sha}","trees_url":"https://api.github.com/repos/scikit-learn/scikit-learn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scikit-learn/scikit-learn/statuses/{sha}","languages_url":"https://api.github.com/repos/scikit-learn/scikit-learn/languages","stargazers_url":"https://api.github.com/repos/scikit-learn/scikit-learn/stargazers","contributors_url":"https://api.github.com/repos/scikit-learn/scikit-learn/contributors","subscribers_url":"https://api.github.com/repos/scikit-learn/scikit-learn/subscribers","subscription_url":"https://api.github.com/repos/scikit-learn/scikit-learn/subscription","commits_url":"https://api.github.com/repos/scikit-learn/scikit-learn/commits{/sha}","git_commits_url":"https://api.github.com/repos/scikit-learn/scikit-learn/git/commits{/sha}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/comments{/number}","issue_comment_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/{number}","contents_url":"https://api.github.com/repos/scikit-learn/scikit-learn/contents/{+path}","compare_url":"https://api.github.com/repos/scikit-learn/scikit-learn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scikit-learn/scikit-learn/merges","archive_url":"https://api.github.com/repos/scikit-learn/scikit-learn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scikit-learn/scikit-learn/downloads","issues_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues{/number}","pulls_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls{/number}","milestones_url":"https://api.github.com/repos/scikit-learn/scikit-learn/milestones{/number}","notifications_url":"https://api.github.com/repos/scikit-learn/scikit-learn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels{/name}","releases_url":"https://api.github.com/repos/scikit-learn/scikit-learn/releases{/id}","created_at":"2010-08-17T09:43:38Z","updated_at":"2015-01-02T17:05:40Z","pushed_at":"2015-01-01T02:03:25Z","git_url":"git://github.com/scikit-learn/scikit-learn.git","ssh_url":"git@github.com:scikit-learn/scikit-learn.git","clone_url":"https://github.com/scikit-learn/scikit-learn.git","svn_url":"https://github.com/scikit-learn/scikit-learn","homepage":"http://scikit-learn.org","size":107271,"stargazers_count":4691,"watchers_count":4691,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2713,"mirror_url":null,"open_issues_count":552,"forks":2713,"open_issues":552,"watchers":4691,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/4023"},"html":{"href":"https://github.com/scikit-learn/scikit-learn/pull/4023"},"issue":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4023"},"comments":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4023/comments"},"review_comments":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/4023/comments"},"review_comment":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/4023/commits"},"statuses":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/statuses/81cbe74f011461bb32891649556bbbd017fbf8fc"}}}}