Study hours and exam scores.
Problem Statement
Move slope and intercept to fit the training data. Watch residuals, loss, gradient direction, and test performance update instantly.
Study hours and exam scores.
Use y = mx + b for prediction.
Actual score minus predicted score.
Average squared residuals.
Direction to reduce loss.
Check test points and metrics.
First rows from the dataset. Test rows are held out to check generalization.
| Set | Hours | Actual | Predicted | Residual |
|---|