Live AI/ML Sessions | Outside College & Office Hours | Session Recordings on LMS | Learn Around Your Schedule | Built for Students & Working Professionals
Live AI/ML Sessions | Outside College & Office Hours | Session Recordings on LMS | Learn Around Your Schedule | Built for Students & Working Professionals

cloudsandai

Multiple Linear Regression: An Interactive Learning Lab

Explore how multiple features combine in a linear model, see how feature scaling affects training, and fit predictions with gradient descent.

Section A

Explore the dataset

Estimate a home's price in $10,000 units using four features. Incomplete rows are ignored until all values are entered.

Area (100 sq ft)BedroomsAge (years)Commute (minutes)Price ($10k)Action

10 complete observations

Section C

Fit and evaluate

Ready for training. Step 0

MSE

4131.100

R squared

-11.742

Valid rows

10

Prediction breakdown

Feature contributions

Observation 1: each term shows its contribution to this prediction.

Area (100 sq ft)8.00 (z -1.14)0.00
Bedrooms2.00 (z -1.17)0.00
Age (years)12.00 (z -0.09)0.00
Commute (minutes)18.00 (z -0.07)0.00
Bias0.00
Predicted price0.00 ($10k)

Section D

Predicted versus actual

Points closer to the diagonal represent more accurate predictions.

Actual price ($10k)Predicted price ($10k)
Observations Perfect prediction
ObservationActual ($10k)Predicted ($10k)Residual
143.000.00-43.00
255.000.00-55.00
337.000.00-37.00
465.000.00-65.00
574.000.00-74.00
645.000.00-45.00
786.000.00-86.00
857.000.00-57.00
996.000.00-96.00
1059.000.00-59.00

Training history

Loss versus step

Starting MSE: 4131.100 | Current MSE: 4131.100