8000 DOC Use california data in compose.rst by lucyleeow · Pull Request #16871 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC Use california data in compose.rst #16871

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

Merged
merged 2 commits into from
May 18, 2020

Conversation

lucyleeow
Copy link
Member

Towards #16155

Replace Boston data with (subset) of California house data in doc/modules/compose.rst

@lucyleeow lucyleeow changed the title DOC Use california data in compose.rst [MRG] DOC Use california data in compose.rst Apr 8, 2020
@lucyleeow lucyleeow changed the title [MRG] DOC Use california data in compose.rst DOC Use california data in compose.rst Apr 10, 2020
Copy link
Member
@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a nitpick

Comment on lines 260 to 261
>>> X = X[:2000,:]
>>> y = y[:2000]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
>>> X = X[:2000,:]
>>> y = y[:2000]
>>> X, y = X[:2000,:], y[:2000] # select a subset of data

@glemaitre glemaitre merged commit 30788de into scikit-learn:master May 18, 2020
@lucyleeow lucyleeow deleted the DOC_compose branch May 18, 2020 14:34
viclafargue pushed a commit to viclafargue/scikit-learn that referenced this pull request Jun 26, 2020
jayzed82 pushed a commit to jayzed82/scikit-learn that referenced this pull request Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0