1. Linear Regression
Predicting Continuous Numbers
What is it?
Linear Regression is an algorithm used to predict a specific number, like estimating house prices or test scores. It works by plotting past data on a chart and drawing a single straight line right through the middle to make future predictions.
Key Terms Explained:
- π Slope & Intercept The slope ($m$) is how steep the line tilts, and the intercept ($b$) is where the line starts on the chart.
- π Mean Squared Error (MSE) A score showing how close the line is to the real dots (a lower score means better predictions).
- β¨ Ordinary Least Squares (OLS) The math trick used to automatically draw the line right through the middle of all data dots.
- ποΈ Gradient Descent Taking small step-by-step adjustments down an error hill to find the least amount of mistakes.