Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

feat: add ml.preprocessing.PolynomialFeatures class#793

Merged
GarrettWu merged 5 commits intomainfrom
garrettwu-poly
Jun 21, 2024
Merged

feat: add ml.preprocessing.PolynomialFeatures class#793
GarrettWu merged 5 commits intomainfrom
garrettwu-poly

Conversation

@GarrettWu
Copy link
Contributor

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:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@GarrettWu GarrettWu requested review from junyazhang and shobsi June 17, 2024 20:50
@GarrettWu GarrettWu requested a review from a team as a code owner June 17, 2024 20:50
@GarrettWu GarrettWu requested a review from a team June 17, 2024 20:50
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Jun 17, 2024
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. label Jun 17, 2024
@GarrettWu GarrettWu assigned GarrettWu and unassigned junyazhang Jun 18, 2024
bigframes_vendored.sklearn.preprocessing._polynomial.PolynomialFeatures.__doc__
)

def __init__(self, degree: int = 2):
Copy link
Contributor

Choose a reason for hiding this comment

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

are we deferring the value validation (range [1, 4]) to BQ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

BQ will return in valid input. Well we can check it first. I'll add in a subsequent PR.

@GarrettWu GarrettWu merged commit b4fbb51 into main Jun 21, 2024
@GarrettWu GarrettWu deleted the garrettwu-poly branch June 21, 2024 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants