Skip to content
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

feat: add support for creating a Matrix Factorization model #1330

Merged
merged 153 commits into from
Apr 1, 2025

Conversation

rey-esp
Copy link
Contributor

@rey-esp rey-esp commented Jan 28, 2025

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> 🦕

@product-auto-label product-auto-label bot added size: l Pull request size is large. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Jan 28, 2025
@rey-esp rey-esp force-pushed the b338873783-matrix-factorization branch from 5f4f9d3 to e5165a9 Compare January 28, 2025 21:18
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: l Pull request size is large. labels Jan 28, 2025
@tswast tswast marked this pull request as ready for review January 29, 2025 17:25
@tswast tswast requested review from a team as code owners January 29, 2025 17:25
@tswast tswast requested a review from sycai January 29, 2025 17:25
@tswast
Copy link
Collaborator

tswast commented Mar 28, 2025

Re: e2e error

>       assert reloaded_model.rating_col == "ratings"
E       AssertionError: assert 'rating' == 'ratings'

This is the correct assertion. Adding a rating_col @property to the MatrixFactorization class should fix it.

Copy link
Collaborator

@tswast tswast left a comment

Choose a reason for hiding this comment

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

So cool! Thanks for your patience and persistence on this.

@tswast tswast enabled auto-merge (squash) April 1, 2025 19:42
@tswast tswast dismissed sycai’s stale review April 1, 2025 19:42

Several commits added since these changes were requested.

@tswast tswast merged commit b5297f9 into main Apr 1, 2025
19 of 24 checks passed
@tswast tswast deleted the b338873783-matrix-factorization branch April 1, 2025 20:07
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: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants