I am trying to wrap up the Sea Level Predictor project in the Data Analysis with Python section. I believe I have done everything correctly, but one of the unit tests is failing (error below).
Here is my REPL, I enabled maxDiff on the test that is failing. You’ll see in the output that the values are extremely close. I don’t really see how I could have messed up the linear regression, but maybe I’m doing something wrong.
This is the test result, you can see how similar the values are.
First differing element 0:
7.060417921192311
7.06107985777146
Has something changed since the test was written or am I doing something wrong?
Challenge: Sea Level Predictor
Link to the challenge: