@dailymathvisuals: Linear regression. Episode one of nine in a visual tour of the regression algorithms. Linear regression has one job. Find the single best straight line through messy data. But what does best mean? Each data point has an error — the vertical distance from the line. But we don't just add up the errors. We square them. Each error becomes a little square whose area equals the error squared. Negatives become positives. Big errors get penalized more. The best line is the one that makes the total area of all those squares as small as possible. Watch. A flat line, error is huge. A steep line, error is still huge. Now look for the spot where the total error is smallest. There. Slope about zero point eight five. Intercept about zero point six. The single best line. Why use it? It's simple. It's interpretable. It's fast — there's a direct formula. You see it everywhere. House prices, salaries, calories, crop yields, ad spend. But there's a catch. Linear regression has tunnel vision. It only ever sees straight lines. If the real pattern is a curve, it fails. That's where polynomial regression comes in next. Follow at daily math visuals for the full series. Shop: dailymathvisuals.lemonsqueezy.com #math #machinelearning #regression #linearregression #datascience #ml #ai #mathtok #stem #explainer
Great explanation! Just one nitpick: On the screen where you introduce y = mx + b (in blue), you use color-coded slope and intercept. The colors of those keywords could match to the variables in the equation they represent.
2026-06-28 23:01:34
3
Adel4u :
Never thought it can be explained in such easy way, good efforts 👏
2026-08-19 04:57:00
0
Dr Tom :
what if x and y in error
2026-07-10 08:15:31
0
~Marwa :
where were u during my business mathematics course😭 how do i understand it now so easily but back then it was so hard for me that i got the lowest possible marks😶
2026-06-30 12:23:30
0
PKD® :
is it applied in only quantitative analysis?
2026-07-22 22:40:56
0
Phillip 🇨🇦 :
👍👍👍
2026-06-30 05:54:03
1
To see more videos from user @dailymathvisuals, please go to the Tikwm
homepage.