← Back to AI Glossary

AI Glossary

Linear Regression

Linear Regression is a machine learning model used to predict numerical values by identifying relationships between variables.

Overview

Many machine learning tasks involve predicting a number.

A company may want to forecast sales. A real estate agency may want to estimate home prices. An energy provider may want to predict future demand.

Linear Regression is one of the simplest and most widely used machine learning models for these situations.

The model looks for relationships between variables and attempts to describe those relationships using a line.

As data changes, the model uses that relationship to estimate future outcomes.

A helpful way to think about Linear Regression is finding trends.

If larger homes generally sell for higher prices, the model can learn that pattern and use it to estimate the value of similar properties.

Although modern AI includes far more advanced models, Linear Regression remains a foundational concept because it clearly demonstrates how machines learn patterns from historical data.

Why It Matters

Linear Regression is often the first machine learning model people encounter because it introduces the concept of prediction through data analysis.

Real-World Example

A real estate company may use Linear Regression to estimate property prices based on size, location, and historical sales data.

Related Concepts

  • Regression
  • Prediction
  • Features
  • Dataset
  • Machine Learning