{"action":"created","comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/comments/40588753","id":40588753,"diff_hunk":"@@ -290,6 +290,78 @@ def load_iris():\n                                 'petal length (cm)', 'petal width (cm)'])\n \n \n+def load_breast_cancer():\n+    \"\"\"Load and return the breast cancer wisconcin dataset (classification).\n+\n+    The breast cancer dataset is a classic and very easy binary classification\n+    dataset.\n+\n+    =================   ==============\n+    Classes                          2\n+    Samples per class    212(M),357(B)\n+    Samples total                  569\n+    Dimensionality                  30\n+    Features            real, positive\n+    =================   ==============\n+    Returns\n+    -------\n+    data : Bunch\n+        Dictionary-like object, the interesting attributes are:\n+        'data', the data to learn, 'target', the classification labels,\n+        'target_names', the meaning of the labels, 'feature_names', the\n+        meaning of the features, and 'DESCR', the\n+        full description of the dataset.\n+\n+    Examples\n+    --------\n+    Let's say you are interested in the samples 10, 50, and 85, and want to\n+    know their class name.\n+\n+    >>> from sklearn.datasets import load_breast_cancer\n+    >>> data = load_breast_cancer()\n+    >>> data.target[[10, 50, 85]]\n+    array([0, 1, 0])\n+    >>> list(data.target_names)\n+    ['malignant', 'benign']\n+    \"\"\"","path":"sklearn/datasets/base.py","position":37,"original_position":37,"commit_id":"569b4205962688a48615d99c4f015b4b3a1e64db","original_commit_id":"569b4205962688a48615d99c4f015b4b3a1e64db","user":{"login":"ishank08","id":10078624,"avatar_url":"https://avatars.githubusercontent.com/u/10078624?v=3","gravatar_id":"","url":"https://api.github.com/users/ishank08","html_url":"https://github.com/ishank08","followers_url":"https://api.github.com/users/ishank08/followers","following_url":"https://api.github.com/users/ishank08/following{/other_user}","gists_url":"https://api.github.com/users/ishank08/gists{/gist_id}","starred_url":"https://api.github.com/users/ishank08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishank08/subscriptions","organizations_url":"https://api.github.com/users/ishank08/orgs","repos_url":"https://api.github.com/users/ishank08/repos","events_url":"https://api.github.com/users/ishank08/events{/privacy}","received_events_url":"https://api.github.com/users/ishank08/received_events","type":"User","site_admin":false},"body":"references like in the documentation?","created_at":"2015-09-28T18:40:55Z","updated_at":"2015-09-28T18:40:55Z","html_url":"https://github.com/scikit-learn/scikit-learn/pull/5325#discussion_r40588753","pull_request_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/5325","_links":{"self":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/comments/40588753"},"html":{"href":"https://github.com/scikit-learn/scikit-learn/pull/5325#discussion_r40588753"},"pull_request":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/5325"}}},"pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/5325","id":46137362,"html_url":"https://github.com/scikit-learn/scikit-learn/pull/5325","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/5325.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/5325.patch","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/5325","number":5325,"state":"open","locked":false,"title":"[MRG+1] add Wisconsin Breast Cancer Dataset","user":{"login":"ishank08","id":10078624,"avatar_url":"https://avatars.githubusercontent.com/u/10078624?v=3","gravatar_id":"","url":"https://api.github.com/users/ishank08","html_url":"https://github.com/ishank08","followers_url":"https://api.github.com/users/ishank08/followers","following_url":"https://api.github.com/users/ishank08/following{/other_user}","gists_url":"https://api.github.com/users/ishank08/gists{/gist_id}","starred_url":"https://api.github.com/users/ishank08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishank08/subscriptions","organizations_url":"https://api.github.com/users/ishank08/orgs","repos_url":"https://api.github.com/users/ishank08/repos","events_url":"https://api.github.com/users/ishank08/events{/privacy}","received_events_url":"https://api.github.com/users/ishank08/received_events","type":"User","site_admin":false},"body":"Add a (classical?) binary classification task #5105 issue resolved.\r\n\r\nI have successfully added Wisconsin Breast cancer (diagnostic) dataset and it's documentation file to sklearn datasets module. ","created_at":"2015-09-28T09:45:23Z","updated_at":"2015-09-28T18:40:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1cdea450f7be5e4113b99df64a2c96f520c5e313","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/5325/commits","review_comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/5325/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/5325/comments","statuses_url":"https://api.github.com/repos/scikit-learn/scikit-learn/statuses/569b4205962688a48615d99c4f015b4b3a1e64db","head":{"label":"ishank08:ish1","ref":"ish1","sha":"569b4205962688a48615d99c4f015b4b3a1e64db","user":{"login":"ishank08","id":10078624,"avatar_url":"https://avatars.githubusercontent.com/u/10078624?v=3","gravatar_id":"","url":"https://api.github.com/users/ishank08","html_url":"https://github.com/ishank08","followers_url":"https://api.github.com/users/ishank08/followers","following_url":"https://api.github.com/users/ishank08/following{/other_user}","gists_url":"https://api.github.com/users/ishank08/gists{/gist_id}","starred_url":"https://api.github.com/users/ishank08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishank08/subscriptions","organizations_url":"https://api.github.com/users/ishank08/orgs","repos_url":"https://api.github.com/users/ishank08/repos","events_url":"https://api.github.com/users/ishank08/events{/privacy}","received_events_url":"https://api.github.com/users/ishank08/received_events","type":"User","site_admin":false},"repo":{"id":42188732,"name":"scikit-learn","full_name":"ishank08/scikit-learn","owner":{"login":"ishank08","id":10078624,"avatar_url":"https://avatars.githubusercontent.com/u/10078624?v=3","gravatar_id":"","url":"https://api.github.com/users/ishank08","html_url":"https://github.com/ishank08","followers_url":"https://api.github.com/users/ishank08/followers","following_url":"https://api.github.com/users/ishank08/following{/other_user}","gists_url":"https://api.github.com/users/ishank08/gists{/gist_id}","starred_url":"https://api.github.com/users/ishank08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishank08/subscriptions","organizations_url":"https://api.github.com/users/ishank08/orgs","repos_url":"https://api.github.com/users/ishank08/repos","events_url":"https://api.github.com/users/ishank08/events{/privacy}","received_events_url":"https://api.github.com/users/ishank08/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ishank08/scikit-learn","description":"scikit-learn: machine learning in Python","fork":true,"url":"https://api.github.com/repos/ishank08/scikit-learn","forks_url":"https://api.github.com/repos/ishank08/scikit-learn/forks","keys_url":"https://api.github.com/repos/ishank08/scikit-learn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ishank08/scikit-learn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ishank08/scikit-learn/teams","hooks_url":"https://api.github.com/repos/ishank08/scikit-learn/hooks","issue_events_url":"https://api.github.com/repos/ishank08/scikit-learn/issues/events{/number}","events_url":"https://api.github.com/repos/ishank08/scikit-learn/events","assignees_url":"https://api.github.com/repos/ishank08/scikit-learn/assignees{/user}","branches_url":"https://api.github.com/repos/ishank08/scikit-learn/branches{/branch}","tags_url":"https://api.github.com/repos/ishank08/scikit-learn/tags","blobs_url":"https://api.github.com/repos/ishank08/scikit-learn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ishank08/scikit-learn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ishank08/scikit-learn/git/refs{/sha}","trees_url":"https://api.github.com/repos/ishank08/scikit-learn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ishank08/scikit-learn/statuses/{sha}","languages_url":"https://api.github.com/repos/ishank08/scikit-learn/languages","stargazers_url":"https://api.github.com/repos/ishank08/scikit-learn/stargazers","contributors_url":"https://api.github.com/repos/ishank08/scikit-learn/contributors","subscribers_url":"https://api.github.com/repos/ishank08/scikit-learn/subscribers","subscription_url":"https://api.github.com/repos/ishank08/scikit-learn/subscription","commits_url":"https://api.github.com/repos/ishank08/scikit-learn/commits{/sha}","git_commits_url":"https://api.github.com/repos/ishank08/scikit-learn/git/commits{/sha}","comments_url":"https://api.github.com/repos/ishank08/scikit-learn/comments{/number}","issue_comment_url":"https://api.github.com/repos/ishank08/scikit-learn/issues/comments{/number}","contents_url":"https://api.github.com/repos/ishank08/scikit-learn/contents/{+path}","compare_url":"https://api.github.com/repos/ishank08/scikit-learn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ishank08/scikit-learn/merges","archive_url":"https://api.github.com/repos/ishank08/scikit-learn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ishank08/scikit-learn/downloads","issues_url":"https://api.github.com/repos/ishank08/scikit-learn/issues{/number}","pulls_url":"https://api.github.com/repos/ishank08/scikit-learn/pulls{/number}","milestones_url":"https://api.github.com/repos/ishank08/scikit-learn/milestones{/number}","notifications_url":"https://api.github.com/repos/ishank08/scikit-learn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ishank08/scikit-learn/labels{/name}","releases_url":"https://api.github.com/repos/ishank08/scikit-learn/releases{/id}","created_at":"2015-09-09T15:53:51Z","updated_at":"2015-09-09T15:53:57Z","pushed_at":"2015-09-28T13:59:15Z","git_url":"git://github.com/ishank08/scikit-learn.git","ssh_url":"git@github.com:ishank08/scikit-learn.git","clone_url":"https://github.com/ishank08/scikit-learn.git","svn_url":"https://github.com/ishank08/scikit-learn","homepage":"http://scikit-learn.org","size":66662,"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":"scikit-learn:master","ref":"master","sha":"86b1ba72771718acbd1e07fbdc5caaf65ae65440","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-09-28T18:23:06Z","pushed_at":"2015-09-28T15:33:07Z","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":134631,"stargazers_count":7684,"watchers_count":7684,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4542,"mirror_url":null,"open_issues_count":761,"forks":4542,"open_issues":761,"watchers":7684,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/5325"},"html":{"href":"https://github.com/scikit-learn/scikit-learn/pull/5325"},"issue":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/5325"},"comments":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/5325/comments"},"review_comments":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/5325/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/5325/commits"},"statuses":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/statuses/569b4205962688a48615d99c4f015b4b3a1e64db"}}}}