📈 Interactive Linear Regression: Least Squares, Gradient Descent, Residuals and Bootstrap
Interactive linear regression: drag data points, compare squared, absolute and Huber loss, ridge shrinkage, gradient descent on the loss contour, residual plot, R squared, confidence bands and a bootstrap of the slope.
⚙ Under the hood
Interactive linear regression with draggable points, squared, absolute and Huber loss, ridge, gradient descent on the loss contour, residuals, R squared, confidence bands and a bootstrap of the slope.
Linear RegressionLeast SquaresGradient DescentStatisticsCanvas 2D
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install