Linear Regression

Click to add points. Drag to move. Switch modes below.

y = mx + b

Polynomial Regression

Click to add points. Adjust degree to see overfitting.

add points to fit

Gradient Descent Visualization

Watch the algorithm descend toward the optimal regression line.

Residual Analysis

Click to add points. Visualize residuals, histogram, Q-Q plot, and decomposition.