Regression
Learn how regression predicts continuous numerical values using input features in supervised learning. Understand building approximation functions through linear regression models that adjust weights and bias to minimize prediction errors measured by mean squared error.
Many real-world problems require us to predict a number, not a category. Whether we want to estimate the price of a house, forecast tomorrow’s temperature, or predict how much a customer will spend, the output is a continuous numerical value.
These kinds of tasks fall under regression, a core technique in supervised learning.
Regression
Regression is a technique that creates a mapping function () to approximate the relationship between a real number (a continuous value) as a target label and its input features.
In other words, given a dataset: , where is the input and is the actual target, the regression function will be: