- Using
pydataset
, load thefaithful
dataset and read it's documentation. - What is pearson's r for the two variables?
- Visualize the relationship between the variables.
- Build a linear model that predicts
eruptions
based onwaiting
. - Create a visualization with your predictions
waiting
should be on the x axis, anderuptions
on the y- Use color to differentiate the actual vs predicted values.
- Add a descriptive title.
- Change the y ticks such that they are all integers (i.e. no decimals)
- Add the root mean squared error of your predictions as an annotation.
Created
May 14, 2019 14:04
-
-
Save ryanorsinger/ff115f49450b9715f084bec6e57b0a8d to your computer and use it in GitHub Desktop.
Regression Warmup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment