{"action":"created","comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/comments/49654765","id":49654765,"diff_hunk":"@@ -602,6 +604,40 @@ def _iter_test_masks(self, X, y=None, labels=None):\n         for i in range(self.n_folds):\n             yield test_folds == i\n \n+    def split(self, X, y=None, labels=None):","path":"sklearn/model_selection/_split.py","position":26,"original_position":26,"commit_id":"149e92df64d83d953913c37b22f57d3eb26bc8c4","original_commit_id":"149e92df64d83d953913c37b22f57d3eb26bc8c4","user":{"login":"MechCoder","id":1867024,"avatar_url":"https://avatars.githubusercontent.com/u/1867024?v=3","gravatar_id":"","url":"https://api.github.com/users/MechCoder","html_url":"https://github.com/MechCoder","followers_url":"https://api.github.com/users/MechCoder/followers","following_url":"https://api.github.com/users/MechCoder/following{/other_user}","gists_url":"https://api.github.com/users/MechCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/MechCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MechCoder/subscriptions","organizations_url":"https://api.github.com/users/MechCoder/orgs","repos_url":"https://api.github.com/users/MechCoder/repos","events_url":"https://api.github.com/users/MechCoder/events{/privacy}","received_events_url":"https://api.github.com/users/MechCoder/received_events","type":"User","site_admin":false},"body":"actually `y` is not optional in a `StratifiedKFold`. The splits are dependent on `y`","created_at":"2016-01-13T21:39:42Z","updated_at":"2016-01-13T21:39:42Z","html_url":"https://github.com/scikit-learn/scikit-learn/pull/6144#discussion_r49654765","pull_request_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/6144","_links":{"self":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/comments/49654765"},"html":{"href":"https://github.com/scikit-learn/scikit-learn/pull/6144#discussion_r49654765"},"pull_request":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/6144"}}},"pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/6144","id":55510926,"html_url":"https://github.com/scikit-learn/scikit-learn/pull/6144","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/6144.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/6144.patch","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6144","number":6144,"state":"open","locked":false,"title":"[MRG] DOC: Added multilabel y support for all splitters","user":{"login":"Sentient07","id":6195312,"avatar_url":"https://avatars.githubusercontent.com/u/6195312?v=3","gravatar_id":"","url":"https://api.github.com/users/Sentient07","html_url":"https://github.com/Sentient07","followers_url":"https://api.github.com/users/Sentient07/followers","following_url":"https://api.github.com/users/Sentient07/following{/other_user}","gists_url":"https://api.github.com/users/Sentient07/gists{/gist_id}","starred_url":"https://api.github.com/users/Sentient07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sentient07/subscriptions","organizations_url":"https://api.github.com/users/Sentient07/orgs","repos_url":"https://api.github.com/users/Sentient07/repos","events_url":"https://api.github.com/users/Sentient07/events{/privacy}","received_events_url":"https://api.github.com/users/Sentient07/received_events","type":"User","site_admin":false},"body":"Fix #6138","created_at":"2016-01-08T21:10:17Z","updated_at":"2016-01-13T21:39:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"36c2acde1e3f30a86aa411204927150d0830e656","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/6144/commits","review_comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/6144/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/6144/comments","statuses_url":"https://api.github.com/repos/scikit-learn/scikit-learn/statuses/149e92df64d83d953913c37b22f57d3eb26bc8c4","head":{"label":"Sentient07:issue#6138","ref":"issue#6138","sha":"149e92df64d83d953913c37b22f57d3eb26bc8c4","user":{"login":"Sentient07","id":6195312,"avatar_url":"https://avatars.githubusercontent.com/u/6195312?v=3","gravatar_id":"","url":"https://api.github.com/users/Sentient07","html_url":"https://github.com/Sentient07","followers_url":"https://api.github.com/users/Sentient07/followers","following_url":"https://api.github.com/users/Sentient07/following{/other_user}","gists_url":"https://api.github.com/users/Sentient07/gists{/gist_id}","starred_url":"https://api.github.com/users/Sentient07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sentient07/subscriptions","organizations_url":"https://api.github.com/users/Sentient07/orgs","repos_url":"https://api.github.com/users/Sentient07/repos","events_url":"https://api.github.com/users/Sentient07/events{/privacy}","received_events_url":"https://api.github.com/users/Sentient07/received_events","type":"User","site_admin":false},"repo":{"id":45418915,"name":"scikit-learn","full_name":"Sentient07/scikit-learn","owner":{"login":"Sentient07","id":6195312,"avatar_url":"https://avatars.githubusercontent.com/u/6195312?v=3","gravatar_id":"","url":"https://api.github.com/users/Sentient07","html_url":"https://github.com/Sentient07","followers_url":"https://api.github.com/users/Sentient07/followers","following_url":"https://api.github.com/users/Sentient07/following{/other_user}","gists_url":"https://api.github.com/users/Sentient07/gists{/gist_id}","starred_url":"https://api.github.com/users/Sentient07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sentient07/subscriptions","organizations_url":"https://api.github.com/users/Sentient07/orgs","repos_url":"https://api.github.com/users/Sentient07/repos","events_url":"https://api.github.com/users/Sentient07/events{/privacy}","received_events_url":"https://api.github.com/users/Sentient07/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sentient07/scikit-learn","description":"scikit-learn: machine learning in Python","fork":true,"url":"https://api.github.com/repos/Sentient07/scikit-learn","forks_url":"https://api.github.com/repos/Sentient07/scikit-learn/forks","keys_url":"https://api.github.com/repos/Sentient07/scikit-learn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sentient07/scikit-learn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sentient07/scikit-learn/teams","hooks_url":"https://api.github.com/repos/Sentient07/scikit-learn/hooks","issue_events_url":"https://api.github.com/repos/Sentient07/scikit-learn/issues/events{/number}","events_url":"https://api.github.com/repos/Sentient07/scikit-learn/events","assignees_url":"https://api.github.com/repos/Sentient07/scikit-learn/assignees{/user}","branches_url":"https://api.github.com/repos/Sentient07/scikit-learn/branches{/branch}","tags_url":"https://api.github.com/repos/Sentient07/scikit-learn/tags","blobs_url":"https://api.github.com/repos/Sentient07/scikit-learn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sentient07/scikit-learn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sentient07/scikit-learn/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sentient07/scikit-learn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sentient07/scikit-learn/statuses/{sha}","languages_url":"https://api.github.com/repos/Sentient07/scikit-learn/languages","stargazers_url":"https://api.github.com/repos/Sentient07/scikit-learn/stargazers","contributors_url":"https://api.github.com/repos/Sentient07/scikit-learn/contributors","subscribers_url":"https://api.github.com/repos/Sentient07/scikit-learn/subscribers","subscription_url":"https://api.github.com/repos/Sentient07/scikit-learn/subscription","commits_url":"https://api.github.com/repos/Sentient07/scikit-learn/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sentient07/scikit-learn/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sentient07/scikit-learn/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sentient07/scikit-learn/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sentient07/scikit-learn/contents/{+path}","compare_url":"https://api.github.com/repos/Sentient07/scikit-learn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sentient07/scikit-learn/merges","archive_url":"https://api.github.com/repos/Sentient07/scikit-learn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sentient07/scikit-learn/downloads","issues_url":"https://api.github.com/repos/Sentient07/scikit-learn/issues{/number}","pulls_url":"https://api.github.com/repos/Sentient07/scikit-learn/pulls{/number}","milestones_url":"https://api.github.com/repos/Sentient07/scikit-learn/milestones{/number}","notifications_url":"https://api.github.com/repos/Sentient07/scikit-learn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sentient07/scikit-learn/labels{/name}","releases_url":"https://api.github.com/repos/Sentient07/scikit-learn/releases{/id}","created_at":"2015-11-02T20:05:33Z","updated_at":"2015-12-26T21:33:20Z","pushed_at":"2016-01-13T06:48:56Z","git_url":"git://github.com/Sentient07/scikit-learn.git","ssh_url":"git@github.com:Sentient07/scikit-learn.git","clone_url":"https://github.com/Sentient07/scikit-learn.git","svn_url":"https://github.com/Sentient07/scikit-learn","homepage":"http://scikit-learn.org","size":70694,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"scikit-learn:master","ref":"master","sha":"a228016585c7f8093c4588ef40cea7e4c9c9daf2","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":"2016-01-13T20:29:15Z","pushed_at":"2016-01-13T16:41:33Z","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":104777,"stargazers_count":9191,"watchers_count":9191,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5412,"mirror_url":null,"open_issues_count":999,"forks":5412,"open_issues":999,"watchers":9191,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/6144"},"html":{"href":"https://github.com/scikit-learn/scikit-learn/pull/6144"},"issue":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6144"},"comments":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6144/comments"},"review_comments":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/6144/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/6144/commits"},"statuses":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/statuses/149e92df64d83d953913c37b22f57d3eb26bc8c4"}}}}