Skip to content

DOC Use california data in compose.rst#16871

Merged
glemaitre merged 2 commits intoscikit-learn:masterfrom
lucyleeow:DOC_compose
May 18, 2020
Merged

DOC Use california data in compose.rst#16871
glemaitre merged 2 commits intoscikit-learn:masterfrom
lucyleeow:DOC_compose

Conversation

@lucyleeow
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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