beanmachine
beanmachine copied to clipboard
Adds motivating example to RobustRegression notebook
Motivation
This uses scikit-learn to show what happens when a regular regression is used and motivates the need for robustness in some examples with a plot.
Changes proposed
Adds some code to fit a regression using scikit-learn and an additional plot
Types of changes
- [x] Docs change / refactoring / dependency upgrade
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist
- [x] My code follows the code style of this project.
- [x] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.
- [x] I have read the CONTRIBUTING document.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [ ] The title of my pull request is a short description of the requested changes.
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
@feynmanliang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
I think the documentation GH action error may be related to bokeh plots?
@zaxtax has updated the pull request. You must reimport the pull request before landing.
The problem should be resolved now. See the commit notes outlining the resolution.
@feynmanliang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@zaxtax has updated the pull request. You must reimport the pull request before landing.
@zaxtax has updated the pull request. You must reimport the pull request before landing.
@feynmanliang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
Can you rebase this please?
@zaxtax has updated the pull request. You must reimport the pull request before landing.
@feynmanliang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.