-
-
Notifications
You must be signed in to change notification settings - Fork 26.5k
[MRG] load_breast_cancer dataset: added return_X_y option #7152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
sklearn/datasets/base.py
Outdated
| Parameters | ||
| ---------- | ||
| return_X_y : boolean, deafult=True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deafult -> default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also I believe default should be False?
|
You should also edit your previous entry in whats_new.rst to reflect the changes you've made here. |
|
Fixed. |
doc/whats_new.rst
Outdated
| - Added new return type ``(data, target)`` : tuple option to | ||
| :func:`load_iris` dataset. | ||
| :func:`load_iris` dataset, :func:`load_breast_cancer` dataset | ||
| (`#7049 <https://github.com/scikit-learn/scikit-learn/pull/7049>`_) by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
im inclined to have it formatted as such:
Add new return option to load (link to pr), loader2 (link to another pr), etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it's a better formatting. Fixed.
|
LGTM, thanks! |
|
thx @manu-chroma |
…rn#7152) * added return_X_y option to breast_cancer_dataset, tests included * fix typo * update whats_new * removed extra space * improved whats_new changelog
Reference Issue
Partially Fixes #6670
What does this implement/fix? Explain your changes.
load_breast_cancerdatasetAny other comments?
Very similar to #7049