You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the regression chapter in the underfitting/overfitting section, we're plotting predictions at the training data, so when K=1 it looks like a piecewise linear interpolation of the data instead of a piecewise constant function that passes through every point. The fix to this is to plot at a fine grid of predictor points, not the training data.
Todos:
fix the bug
check for this bug elsewhere in the book
check for this bug and similar in the Python book
The text was updated successfully, but these errors were encountered:
In the regression chapter in the underfitting/overfitting section, we're plotting predictions at the training data, so when K=1 it looks like a piecewise linear interpolation of the data instead of a piecewise constant function that passes through every point. The fix to this is to plot at a fine grid of predictor points, not the training data.
Todos:
The text was updated successfully, but these errors were encountered: