-
Notifications
You must be signed in to change notification settings - Fork 63
refactor: ml model load read from class type hints #656
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
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
| "distance_type": "distanceType", | ||
| "max_iter": "maxIterations", | ||
| "tol": "minRelativeProgress", | ||
| "warm_start": "warmStart", |
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.
We should add the unit test for all these newly-added params. Same for all other BQML models, but feel free to address in a follow-up PR.
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.
yes, will do a follow up.
| from bigframes.ml import base, core, globals, utils | ||
| import bigframes.pandas as bpd | ||
|
|
||
| _BQML_PARAMS_MAPPING = {"svd_solver": "pcaSolver"} |
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.
Same here.
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.
This one isn't a new adding, but moved piece.
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> 🦕