Uh oh!
There was an error while loading. Please reload this page.
Reimplement polynomial_regression.py - #8889
Conversation
Rename machine_learning/polymonial_regression.py to machine_learning/polynomial_regression.py Reimplement machine_learning/polynomial_regression.py using numpy because the old original implementation was just a how-to on doing polynomial regression using sklearn Add detailed function documentation, doctests, and algorithm explanation
tianyizheng02
commented
Jul 24, 2023
This doctest passes when I run it locally on my own machine, so I'm guessing the failure here is due to some variation in numpy's calculations on different systems |
tianyizheng02
commented
Jul 24, 2023
The estimated parameters clearly are close to the true parameters, so I'll just set the tolerance to a larger value. |
CaedenPH
left a comment
There was a problem hiding this comment.
Very nice documentation about each function
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Click here to look at the relevant links ⬇️
🔗 Relevant Links
Repository:
Python:
Automated review generated by algorithms-keeper. If there's any problem regarding this review, please open an issue about it.
algorithms-keeper commands and options
algorithms-keeper actions can be triggered by commenting on this PR:
@algorithms-keeper reviewto trigger the checks for only added pull request files@algorithms-keeper review-allto trigger the checks for all the pull request files, including the modified files. As we cannot post review comments on lines not part of the diff, this command will post all the messages in one comment.NOTE: Commands are in beta and so this feature is restricted only to a member or owner of the organization.
Uh oh!
There was an error while loading. Please reload this page.
Describe your change:
Contributes to #6216
Checklist: