## Introduction

Regression is another important and broadly used statistical and machine learning tool. The main goal of regression projects is to predict continuous numeric values as output labels or replies for given data input. The model’s output will be dependent on what it learned throughout the training stage. Regression models discover the unique connection among inputs and outputs by using input data characteristics and their matching continuous numeric output values.

There are two types of regression models:

**Simple regression model**: This is the simplest regression model, in which predictions are made based on a single, univariate data attribute.**Multiple regression model**: The predictions are built from several aspects of the data.

## Types of regression algorithms

**Simple linear regression**is a statistical approach for summarizing and investigating associations between two continuous (quantitative) variables. Linear regression is a linear model in which the input variables (x) and the single output variable (y) are assumed to have a linear relationship (y). A linear combination of the input variables can be used to compute y. (x). A basic linear regression approach is used when there is just one input variable (x). The process is known as multiple linear regression when there are several input variables.- One of the most widely utilized regression approaches in the business, which is widely employed across credit card scoring and clinical trials, is
**logistic regression**. One of the most appealing features of this popular method is that it allows for the inclusion of many dependent variables, which can be either continuous or dichotomous. Another significant benefit of this supervised machine learning approach is that it offers a quantitative value for measuring the strength of connection in relation to the other variables. Despite its popularity, experts have pointed out its flaws, including a lack of rigorous techniques as well as a high level of model reliance. **The Support Vector Machine**(SVM) is another extremely powerful algorithm with solid theoretical underpinnings. This supervised machine learning approach offers a high degree of regularization and may be used to solve classification and regression problems. They’re distinguished by the use of kernels, the solution’s sparseness, and the capacity control acquired by manipulating the margin, the number of support vectors, and so on. The system’s capacity is determined by parameters that are independent of the feature space’s dimensionality. The SVM method utilizes a z-score normalization on numeric characteristics since it acts natively on them. Support Vector Machines techniques address regression issues using the epsilon-insensitive loss function.- The purpose of
**LASSO regression**is to find the subset of predictors that has the least amount of prediction error for a quantitative response variable. The approach works by putting a limit on the model parameters, causing regression coefficients for some variables to decrease to zero.

After the shrinking procedure, variables having a regression coefficient of zero are removed from the model. The response variable is most closely connected with variables having non-zero regression coefficients. Explanatory variables might be quantitative, categorical, or a combination of the two. This lasso regression analysis is essentially a shrinkage and variable selection strategy that aids analysts in determining the most significant predictors.

## Conclusion

A data mining function called regression predicts numeric values along a continuum. Regression algorithms may be used to forecast profit, revenue, mortgage interest rates, home prices, floor space, climate, and distance. A regression model, for example, may be used to forecast the value of a home-based on its location, the number of rooms, lot size, and other parameters.

The starting point for a regression job is data collection with known target values. For example, based on observed data for numerous houses over time, a regression model that forecasts house prices may be created. Aside from the value, the information might include the house’s age, square footage, number of rooms, taxes, school district, proximity to retail areas, and other factors. The aim would be the house value, the predictors would be the other features, and the data for each house would be a case.