Skip to content
Query Feedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  1. Home /
  2. AI Glossaries /
  3. Machine Learning /
  4. What is Regression in Machine Learning?
Machine Learning

What is Regression in Machine Learning?

Updated September 20, 2026 Read 3 min

Regression in machine learning is a supervised learning task where a model predicts a continuous number, such as a price, a temperature or a delivery time, based on patterns learned from labelled examples.

Contents 11
  1. 01Key takeaways
  2. 02Regression explained in simple terms
  3. 03How does regression work?
  4. 04Linear regression
  5. 05Types of regression
  6. 06How to measure a regression model
  7. 07Regression vs classification
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

Regression in machine learning is a supervised learning task in which a model predicts a continuous numeric value, such as a price, a quantity or a time, from input features. The model learns the relationship between inputs and a known numeric outcome in past data, then uses it to estimate the outcome for new cases.

Key takeaways

  • Regression predicts numbers; classification predicts categories.
  • Linear regression is the simplest and most explainable form.
  • Common metrics are MAE, RMSE and R².
  • “Logistic regression” is actually a classification method, despite its name.

Regression explained in simple terms

An estate agent sees hundreds of house sales. Over time they learn that more bedrooms, a better location and a garden push prices up, while age and noise push them down. When a new house comes on the market, they estimate a price. A regression model does the same, but it measures the effect of each feature precisely and applies it consistently to thousands of cases.

How does regression work?

  1. Collect examples with known numeric outcomes, such as past sales with prices.
  2. Select and engineer features that may influence the outcome (feature engineering).
  3. Train: the model predicts values, a loss function such as mean squared error measures the gap, and gradient descent or a direct formula reduces it.
  4. Evaluate on held-out data.
  5. Predict values for new cases, ideally with a range of uncertainty.

Linear regression

Linear regression fits a straight line (or flat surface) through the data. With one feature: price = a + b × size. The model learns a (the starting value) and b (how much price rises per unit of size). With many features, each gets its own weight. Its big advantage is transparency: you can read exactly how much each feature contributes.

Types of regression

TypeWhat it doesWhen to use
Linear regressionStraight-line relationshipSimple, explainable baselines
Polynomial regressionCurved relationshipsWhen effects grow or shrink non-linearly
Ridge and lasso regressionLinear regression with regularisation to prevent overfitting; lasso can drop weak featuresMany features, some redundant
Decision tree and random forest regressionSplits data into rangesNon-linear tabular data
Gradient boosting regressionBuilds many small trees that correct each otherHigh accuracy on business data
Neural network regressionLearns complex patternsImages, audio, large datasets
Time-series regressionUses past values over timeForecasting demand or prices

How to measure a regression model

  • MAE (mean absolute error): the average size of errors, in the original units. Easy to explain: “off by ₹2,000 on average”.
  • RMSE (root mean squared error): like MAE but punishes large errors more.
  • MAPE: average error as a percentage; misleading when true values are near zero.
  • R² (coefficient of determination): the share of variation the model explains, where 1 is perfect and 0 is no better than predicting the average.

Always compare with a baseline, such as predicting the average or last period’s value.

Regression vs classification

Both are supervised learning. The difference is the output. “How much will this house sell for?” is regression. “Will this house sell within 30 days?” is classification. The same data can often be framed either way, and the right choice depends on the decision you need to make.

Limitations

Regression models extrapolate poorly: predictions outside the range of training data are unreliable. Outliers can pull linear models off course. Correlated features make individual weights hard to interpret. And a strong relationship in the data does not prove cause and effect.

Common Use Cases

01

Price estimation

Predict property, car or product prices from their features.

02

Sales and demand forecasting

Estimate units sold per product, store and day.

03

Delivery time prediction

Estimate arrival times from distance, traffic and order load.

04

Energy consumption

Forecast electricity demand for grids or buildings.

05

Customer lifetime value

Estimate how much revenue a customer will bring over time.

06

Insurance pricing

Estimate expected claim costs to set premiums.

Frequently Asked Questions

A supervised learning task that predicts a continuous number, such as a price or quantity, from input features.

Regression predicts numbers. Classification predicts categories.

No. Despite its name, logistic regression is used for classification. It predicts the probability of a class.

It depends on the field. In controlled physical systems R² can be very high, while in human behaviour data a lower R² can still be useful. Compare with a baseline.

MAE averages absolute errors equally. RMSE squares errors first, so large mistakes count more.

Related Terms

  • Classification
  • Supervised Learning
  • Linear Regression
  • Loss Function
  • AI Prediction
  • Time-Series Forecasting

Related AI Terms

What is Hyperparameter Tuning?Hyperparameter tuning is the process of systematically searching for the configuration values that make a model perform best…What is L2 Regularization?L2 regularization adds a penalty equal to the sum of the squared weights, shrinking all weights smoothly towards…What is L1 Regularization?L1 regularization, known as lasso in linear models, adds a penalty equal to the sum of the absolute…What is Cross-Validation in Machine Learning?Cross-validation is a technique that repeatedly splits data into training and validation parts, rotating which part is held…What is Stochastic Gradient Descent (SGD)?Stochastic gradient descent (SGD) updates a model's weights using one example or a small batch at a time…What is the Bias-Variance Tradeoff?The bias-variance tradeoff describes how a model's error splits into bias from overly simple assumptions and variance from…

Contents

  1. 01Key takeaways
  2. 02Regression explained in simple terms
  3. 03How does regression work?
  4. 04Linear regression
  5. 05Types of regression
  6. 06How to measure a regression model
  7. 07Regression vs classification
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

AI Topic

  • Machine Learning

Related Terms

  • What is Hyperparameter Tuning?
  • What is L2 Regularization?
  • What is L1 Regularization?
  • What is Cross-Validation in Machine Learning?
  • What is Stochastic Gradient Descent (SGD)?
  • What is the Bias-Variance Tradeoff?

Quick Navigation

  • Common Use Cases
  • Frequently Asked Questions
  • Related Terms
  • Back to top

Details

Updated
September 20, 2026
Read
3 min
  • Forum
  • Submit a tool
  • Submit Guest Post
  • List Your Startup
  • Privacy Policy
  • Editorial Policy
  • Account
  • Contact
  • AI Productivity
  • AI Video
  • AI Coding
  • AI Chatbots
  • Sales
  • AI Business
  • View All Tools

Subscribe our Newsletter

Get weekly exclusive content - No spam.

Copyright © 2026 -  Query Feedz

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}