Regression

Category: Foundations of ML/AI

A supervised learning task where the model predicts a continuous numerical value for each input.

Full Explanation

Regression predicts continuous output values, such as prices, temperatures, or durations, from input features. Linear regression, the simplest form, models the relationship as a weighted sum of inputs, while more complex methods like polynomial regression, decision tree regression, and neural network regression can capture nonlinear relationships. Regression models are trained by minimizing a loss function, typically MSE or MAE, that measures prediction error. Common evaluation metrics include MSE, RMSE, MAE, and R-squared. Regression is widely used in finance (stock price prediction), real estate (house price estimation), weather forecasting, and demand prediction. The distinction between regression and classification is the nature of the output: continuous for regression, categorical for classification.

Related Terms

More in Foundations of ML/AI

Explore More