Skip to content

[MRG] add transform y section to faq.rst #15484

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 9 commits into from
Nov 20, 2019

Conversation

theoptips
Copy link
Contributor

@theoptips theoptips commented Nov 2, 2019

Add transform y in a pipeline Q and A to FAQ.

Reference Issues/PRs

Fixes #12587

What does this implement/fix? Explain your changes.

Add transform y section, related discussion, suggested libraries to FAQ

Any other comments?

N/A

@theoptips theoptips changed the title [MRG] Github issue #12587 add transform y to faq.rst [MRG] add transform y section to faq.rst Nov 2, 2019
Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

Thank you for the PR @theoptips !

Changed to TransformedTargetRegressor
Re-formatted transform y section
Added links to pipegraph imbalanced-learn
theoptips and others added 2 commits November 2, 2019 13:45
styling change

Co-Authored-By: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
:class:`sklearn.compose.TransformedTargetRegressor`
@jnothman
Copy link
Member

jnothman commented Nov 2, 2019

I think this should include a bit more of the discussion. Note that we have solved for the case where y has an invertible transformation applied before training and inverted after prediction... And we hope to solve for use cases where y should be transformed at training time and not at test time, for resampling and similar uses, like at imbalanced learn. In general these use cases should be solved with a custom meta estimator rather than a Pipeline

Link to 4143 issue
Added discussion from jnothman
updated language so it's more of a suggestion
@cmarmo
Copy link
Contributor

cmarmo commented Nov 20, 2019

@jnothman , @TomDLT , @thomasjpfan have all comments been addressed here? Thanks!

@TomDLT TomDLT merged commit cc9066f into scikit-learn:master Nov 20, 2019
@TomDLT
Copy link
Member

TomDLT commented Nov 20, 2019

Thanks @theoptips !

adrinjalali pushed a commit to adrinjalali/scikit-learn that referenced this pull request Nov 25, 2019
panpiort8 pushed a commit to panpiort8/scikit-learn that referenced this pull request Mar 3, 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.

Add "Transforming y" to FAQ
5 participants