-
Notifications
You must be signed in to change notification settings - Fork 48
feat: add PolynomialFeatures to_gbq and pipeline support #805
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
Tuple[ | ||
str, | ||
Union[preprocessing.PreprocessingType, impute.SimpleImputer], | ||
Union[str, List[str]], | ||
] | ||
] = [] | ||
] = set() |
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.
what's the reason for going from list to set?
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.
The processor is different from others. Where previous are 1 -> 1 transform, poly_features is n -> m. So other transformers we get 1 transformed_column, but poly_features we get m transformed_column. Which need to be deduped. And the order of the transformers doesn't matter.
BEGIN_COMMIT_OVERRIDE
feat: add
PolynomialFeatures
support toto_gbq
and pipelines (#805)END_COMMIT_OVERRIDE
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕