Load a CSV and inspect it
Start with a CSV that has at least two numeric columns. One row means one observation.
This guide teaches linear regression in five focused steps. You only need a CSV file: the page explains the math, trains live in your browser, and translates the final model into plain language.
Step 1 of 5
Start with a CSV that has at least two numeric columns. One row means one observation.
Upload a CSV file with at least two numeric columns to begin.
Question 1
Question 2
$
>
Pick two different numeric columns to define your learning question.
Question 3
>
This is your before-training snapshot.
Number of valid X-Y row pairs used by the model.
Minimum and maximum values in your predictor (X) column.
Minimum and maximum values in your target (Y) column.
Pearson r from -1 to +1. Closer to +/-1 means a stronger linear relationship.
Mean Squared Error for the current model. Lower means predictions are closer.
Variance explained score: 1 is perfect, 0 equals predicting the average target, and negative is worse.
Question 4
$
>
>
Awaiting dataset...
Question 5
Prediction
>
Enter an X value to generate prediction.
Interpretation
$
Equation will appear after training.
Complete training to unlock prediction and plain-language interpretation.
--
--
--
--