Machine learningLinear models

Linear Regression

Linear regression

Tasks
Regression
Application areas
General: economics, engineering, health sciences
Common metrics
MAE, RMSE, R²
Papers in the repository
0

Description and architecture

A model that predicts a continuous value as a linear combination of the features.

A linear combination of the features with weights estimated by least squares (or with L1/L2 regularization).

Inputs and outputs: Input: a numeric feature vector · Output: a real value

What can be optimized?

alpha (Ridge/Lasso), l1_ratio, feature selection

Advantages

Fast, interpretable and has a closed-form solution

Limitations

Does not capture non-linear relations, sensitive to outliers and multicollinearity

Relationship table: three separate kinds of evidence

Theoretical fit Theoretically suitable optimization types

Optimization typeRationaleConditions of use
Hyperparameter OptimizationModel performance is sensitive to its hyperparameters, and the search space is mixed and non-differentiable, so population-based algorithms are suited to exploring it.Use inner cross-validation to avoid data leakage.
Feature SelectionReducing features improves interpretability and may reduce overfitting; a binary encoding (mask) suits the binary versions of the algorithms.Use inner cross-validation to avoid data leakage.
Feature EngineeringFeature transformations or combinations can be searched as an optimization problem at the preprocessing level.Use inner cross-validation to avoid data leakage.
Ensemble OptimizationSetting ensemble member weights or choosing a subset of members is a low-dimensional continuous/binary optimization problem.Use inner cross-validation to avoid data leakage.
Model SelectionModel selection and its hyperparameters can be encoded together in one vector (CASH) and evaluated with cross-validation.Use inner cross-validation to avoid data leakage.

Published result Algorithms that appeared with this model in repository papers

An aspect that did not appear in the current search results within the repository.

Tested by the user Completed experiments recorded by lab users

No completed experiments have been recorded for this model yet.

Reference

Least squares method (Legendre 1805; Gauss 1809) — no DOI