8000 DOC More specific about the limitation of make_column_transformer by qinhanmin2014 · Pull Request #12163 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC More specific about the limitation of make_column_transformer #12163

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
Sep 26, 2018
Merged

DOC More specific about the limitation of make_column_transformer #12163

merged 2 commits into from
Sep 26, 2018

Conversation

qinhanmin2014
Copy link
Member

Following up #12156. I guess we might want some clarification in the doc.

@@ -691,7 +691,7 @@ def make_column_transformer(*transformers, **kwargs):
This is a shorthand for the ColumnTransformer constructor; it does not
require, and does not permit, naming the transformers. Instead, they will
be given names automatically based on their types. It also does not allow
weighting.
weighting, i.e., it does not accept parameter ``transformer_weights``.
Copy link
Member

Choose a reason for hiding this comment

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

I think more helpful would be a comment in the file for maintainers on why it cannot accept transformer_weights :)

@jnothman
Copy link
Member

Oh, I see that's what was in the previous PR. Let's just make this more succinct "does not allow weighting with transformer_weights".

@qinhanmin2014
Copy link
Member Author

Oh, I see that's what was in the previous PR. Let's just make this more succinct "does not allow weighting with transformer_weights".

Yes, the previous PR is for developers and this one is for users.

@jnothman jnothman merged commit e63feeb into scikit-learn:master Sep 26, 2018
@qinhanmin2014 qinhanmin2014 deleted the ct-doc branch September 26, 2018 07:09
jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Oct 15, 2018
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