What is Regression?
In Turkish: Regresyon · Topic: Core concepts
A method and task type that aims to predict a continuous numerical value, such as a price, a temperature or demand, from input variables.
How does it work?
The model learns the relationship between inputs and outcomes from past examples. In its simplest form it draws the line that best fits the data: as a home’s floor area grows, how much does the price rise? The model is adjusted so that the gap between its predictions and the real values gets smaller. More advanced methods and neural networks can handle many inputs and curved relationships. The output is a number rather than a category.
Why does it matter?
It sits at the heart of many forecasting jobs: demand forecasting, pricing, risk scores and weather models are some of them. Because it is easy to understand, it is also common in statistics, and simple regression models often have an edge in interpretability over complex ones.
Example
A real estate website can use regression to estimate an apartment’s rent from details such as location, floor area and building age.
FAQ
What is the difference between regression and classification?
Regression predicts a continuous number, while classification picks one of several predefined categories. The answer in the first is something like 23.5 degrees, in the second a label such as “cold” or “warm”.
Why does logistic regression have regression in its name if it does classification?
The name is a historical convention. Logistic regression computes a probability, and when that probability is turned into a category with a threshold it is used for classification.