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

Open
wants to merge 135 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
6783a0a
docs: update title of pypi notebook example to reflect use of the PyP…
tswast Sep 4, 2024
1d39560
feat: add support for creating a Matrix Factorization model
rey-esp Jan 27, 2025
e19c262
feat: add support for creating a Matrix Factorization model
rey-esp Jan 27, 2025
1bef4a2
feat: add support for creating a Matrix Factorization model
rey-esp Jan 27, 2025
d157cd7
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Jan 28, 2025
e336bde
Update bigframes/ml/decomposition.py
rey-esp Jan 28, 2025
d5f713a
Update bigframes/ml/decomposition.py
rey-esp Jan 28, 2025
5e3e443
Update bigframes/ml/decomposition.py
rey-esp Jan 28, 2025
34a60bc
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Jan 28, 2025
c116e8a
rating_col
rey-esp Jan 28, 2025
dedef39
(nearly) complete class
rey-esp Jan 28, 2025
e5165a9
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Jan 28, 2025
05eb854
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Jan 28, 2025
2787178
removem print()
rey-esp Jan 28, 2025
8c66e07
removem print()
rey-esp Jan 28, 2025
086b4dd
adding recommend
rey-esp Jan 29, 2025
8ed3ccd
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Jan 29, 2025
1b4eef9
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Jan 29, 2025
7c371ac
remove hyper parameter runing references
rey-esp Jan 30, 2025
7498c8c
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Jan 30, 2025
55ef06a
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Jan 30, 2025
29805b5
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 4, 2025
8de384a
swap predict in _mf for recommend
rey-esp Feb 4, 2025
647532b
recommend -> predict
rey-esp Feb 4, 2025
b340c4f
update predict doc string
rey-esp Feb 4, 2025
580de41
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 4, 2025
29ee357
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 5, 2025
bac2ece
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 6, 2025
3f22c23
Merge branch 'b338873783-matrix-factorization' of github.com:googleap…
rey-esp Feb 6, 2025
213f11d
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 6, 2025
aaf0d1f
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 10, 2025
4c90c1d
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 10, 2025
792bd64
Merge branch 'b338873783-matrix-factorization' of github.com:googleap…
rey-esp Feb 10, 2025
ed279be
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 11, 2025
ba5beb3
preparing test files
rey-esp Feb 12, 2025
86fb956
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 12, 2025
a29bbcf
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 13, 2025
8577833
add test data
rey-esp Feb 13, 2025
a92007c
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 19, 2025
a808429
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 20, 2025
4b7b4db
new error: to_gbq column names need to be changed?
rey-esp Feb 21, 2025
8d55eac
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 24, 2025
9195658
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 24, 2025
faa4d6b
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 24, 2025
76a9934
Merge branch 'b338873783-matrix-factorization' of github.com:googleap…
rey-esp Feb 24, 2025
bef7808
Delete demo.ipynb
rey-esp Feb 24, 2025
f18104d
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 25, 2025
9b39a99
Merge branch 'b338873783-matrix-factorization' of github.com:googleap…
rey-esp Feb 25, 2025
0dd033d
passing system test
rey-esp Feb 25, 2025
60faed1
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 26, 2025
1f85b75
preparing to add unit tests
rey-esp Feb 26, 2025
7efc63d
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 27, 2025
a457639
2 out of 3 (so far) passing unit tests
rey-esp Feb 27, 2025
89790ac
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Feb 28, 2025
a057a8f
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 3, 2025
512332e
attempted mocking
rey-esp Mar 3, 2025
741e749
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 4, 2025
f902131
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 4, 2025
310257d
Merge branch 'b338873783-matrix-factorization' of github.com:googleap…
rey-esp Mar 4, 2025
408e807
fix tests
rey-esp Mar 4, 2025
19e423b
new test file for model creation unit tests
rey-esp Mar 4, 2025
2c107df
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 5, 2025
c7c8eea
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 5, 2025
5f1a19a
add unit tests for num_factors, user_col, and item_col
rey-esp Mar 6, 2025
68e308b
Merge branch 'b338873783-matrix-factorization' of github.com:googleap…
rey-esp Mar 6, 2025
33f3069
Update tests/unit/ml/test_matrix_factorization.py
rey-esp Mar 7, 2025
1ff6aaa
Update tests/unit/ml/test_matrix_factorization.py
rey-esp Mar 7, 2025
446712b
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 7, 2025
c84dd7e
uncomment one test
rey-esp Mar 7, 2025
3473037
uncomment test
rey-esp Mar 7, 2025
b3809e5
uncomment test
rey-esp Mar 7, 2025
7e8a5b6
uncomment test
rey-esp Mar 7, 2025
eba88d9
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 10, 2025
8599d88
nearly all tests
rey-esp Mar 10, 2025
8ab8818
tests complete and passing
rey-esp Mar 10, 2025
b4d3578
seeing if test causes kokoro failure
rey-esp Mar 10, 2025
a63cb90
uncomment test-kokoro still failing
rey-esp Mar 10, 2025
3695f80
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 10, 2025
336bffd
Merge branch 'tswast-patch-1' into b338873783-matrix-factorization
rey-esp Mar 10, 2025
bb6130a
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 11, 2025
e69438d
remove comment
rey-esp Mar 11, 2025
05da834
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 11, 2025
087953f
fix test
rey-esp Mar 11, 2025
bfe9140
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 11, 2025
8d3599e
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 11, 2025
248a3b1
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 12, 2025
157daea
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 12, 2025
8912663
test kokoro
rey-esp Mar 12, 2025
35a8c18
test_decomposition.py failing and now feedback_type attr does not exist
rey-esp Mar 12, 2025
ac182be
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 12, 2025
ff58ff5
passing tests
rey-esp Mar 12, 2025
f0a6ba2
Update bigframes/ml/decomposition.py
rey-esp Mar 12, 2025
aaad5f5
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 12, 2025
b586c5c
Update tests/system/large/ml/test_decomposition.py
rey-esp Mar 12, 2025
04ddd5e
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 12, 2025
8e875ae
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 12, 2025
565138a
doc attempt - _mf.py example
rey-esp Mar 12, 2025
b39661f
Merge branch 'b338873783-matrix-factorization' of github.com:googleap…
rey-esp Mar 12, 2025
c0ef08f
feedback_type case ignore
rey-esp Mar 13, 2025
4b53b04
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 17, 2025
342cbd1
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 18, 2025
8812f33
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 18, 2025
24b8e0c
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 18, 2025
664de04
Update _mf.py - remove global_explain()
rey-esp Mar 18, 2025
63e8e9c
fit
rey-esp Mar 18, 2025
3e52cd4
pull?
rey-esp Mar 18, 2025
c2e9a5f
W
rey-esp Mar 18, 2025
28c4602
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 19, 2025
1240eeb
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 24, 2025
46f1ea6
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 24, 2025
193b9c8
fix docs (maybe)
rey-esp Mar 24, 2025
5a547f8
Update test_matrix_factorization.py with updated error messages
rey-esp Mar 24, 2025
23d8fc8
ilnt
rey-esp Mar 24, 2025
ed99ad7
Update test_matrix_factorization.py - add 'f'
rey-esp Mar 24, 2025
e305950
improve errors and update tests
rey-esp Mar 24, 2025
411fe1a
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 25, 2025
4273a99
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 25, 2025
b9f6a52
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 25, 2025
b92ed1f
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 25, 2025
aaf34eb
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 25, 2025
46601c4
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 25, 2025
0823db2
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 27, 2025
32917e5
Update tests/system/large/ml/test_decomposition.py
rey-esp Mar 27, 2025
e485d3b
Update bigframes/ml/decomposition.py - num_factors error messsage
rey-esp Mar 27, 2025
6a27083
Update bigframes/ml/decomposition.py - user_col error message
rey-esp Mar 27, 2025
6e2d902
Update bigframes/ml/decomposition.py - rating_col error message
rey-esp Mar 27, 2025
b65c637
Update bigframes/ml/decomposition.py - l2_reg error msg
rey-esp Mar 27, 2025
93ac0fa
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 27, 2025
74ebe27
fix tests to match updated error messages
rey-esp Mar 27, 2025
b2ebcf7
Merge branch 'b338873783-matrix-factorization' of github.com:googleap…
rey-esp Mar 27, 2025
3f40763
Update third_party/bigframes_vendored/sklearn/decomposition/_mf.py - …
rey-esp Mar 27, 2025
2cbc2e3
Update third_party/bigframes_vendored/sklearn/decomposition/_mf.py - …
rey-esp Mar 27, 2025
0a5aefb
Update third_party/bigframes_vendored/sklearn/decomposition/_mf.py - …
rey-esp Mar 27, 2025
d484f77
Merge branch 'main' into b338873783-matrix-factorization
rey-esp Mar 27, 2025
366e0ab
Update third_party/bigframes_vendored/sklearn/decomposition/_mf.py
tswast Mar 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into b338873783-matrix-factorization
  • Loading branch information
rey-esp authored Jan 28, 2025
commit d157cd71f761e4ef5dd20d1c4e7e40b7eadf6c02

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.