๐
Fit a line to the data
Each dot is a past month of ad spend and sales โ tilt and raise the line to fit them, then press Train and watch it settle on the best fit.
Sales revenue (โน lakh)
Ad spend (โน lakh)
Error
โ
Slope
0.35
Intercept
29
Past months (data)
Fitted line
Error (residual)
Prediction
Tilt (slope)
0.35
Height (intercept)
29
Total error
โ
Adds up how far every dot sits from the line (squared). Smaller means a better fit โ it hits zero-ish only when the line threads the data.
Train the model
Reset
Predict at
16
Spend โน16 lakh โ the line predicts revenue.
The model learned the line that best fits past data โ now it
predicts new values
.