Regression analysis terms to be a statistical methodology for modeling the relationship between one or even more independents variable with one dependent variable. Regression analysis, in particular, permits us to see how the quantity of the dependent variable alters in relation to an independent variable whereas the other independent variables remain constant.

The dependent variables in this analysis procedure are termed as the ”target” and the independent variables in this procedure are termed as the ‘”predictor”.

Table of Contents

## Demonstration of Regression analysis

- For illustration, we run a technical company building up the various softwares relied on the needs and demands of the clients.
- Our revenue board is represented as:

Year | Revenue |
---|---|

2012 | 45 Lakhs |

2015 | 57 Lakhs |

2018 | 69 Lakhs |

2021 | 80 Lakhs |

2024 | ???? |

- So, we want to predict or forecast the per annum revenue of our company for the year 2024.
- Here, is the circumstance when Regression comes in the scenario.
- You can employ time-series, forecasting or the prediction procedure to obtian the desired result.
- Here, revenue is the dependent or target variable and year is the independent or predictor variable.

## Terms utilized in Regression analytics

**Dependent/Target variables:**The factors or the variables which we want to forecast or predict the conclusions or outcomes.**Independent/Predictor variables:**The factors or the variables which we employ to predict the target variables.**Over-fitting:**When our constructed algorithm works or incorporates great with training database but not with the testing databse.**Under-fitting:**When our constructed algorithm does not works or incorporates great with the training database.**Multi-collinearity:**If your multiple predictor attributes are highly co-related to one another then that scenario is termed as multi-collinearity.**Outliers:**The values that are very lowest or very highest compared to other quantities present in the database.

## Why we utilize the Regression analytics?

- Regression analytics models, as previously mentioned, aids in the forecast of a continuous variable.
- In the actual life, there are a multitude of circumstances where we need to generate future projections, like seasonal changes, sales forecasts, market dynamics, and so on.
- In these instances, we demand intelligence that can offer more precise forecasts.
- In such a scenario, regression analysis, a statistical methodology utilised in data science, is essential.
- It could also be employed for the reasons stated:
- Regression analysis is employed to determine the inter-connection between the target and predictors.
- Aids to anticipate the real yet continuous quantities.
- Employed to explore the patterns in a database.
- Utilized to explore the most essential, least essential and inter-correlation between the factors in a database.

## Sorts of Regression

- In machine learning, there are several multiple kinds of regressions.
- Every type does have its own significance in diverse situations, but all regression models assess the impact of the independent variable on the dependent ones at their core.
- We’ll go over certain most frequent sorts of regression in this portion:
**Linear Regression:**Employed for predictive analysis of a situaiton. Frequent methodology in ML. Taegt and predictors possess a linear connection.**Logistic Regression:**Employed to resolve the classification issues. Works great with the categorical sorts of variables. Utilizes a sigmoid or logisitc functionality that is a complex type of cost-function.**Support Vector:**Employed for both regression and classification issues. Utilizes the hyper-planes in its algorithm.**Polynomial Regression:**Employed with the database that is non-linear in nature. Equivalent to muliple linear regressor methodology, but not the exact same.**Ridge Regression:**Among the most robust sort of linear regressors methodology. Here, lowest qunatity of bias is supplied to databases for long-lasting effective forecasts.**Decision tree:**Handles both the categorical or numeral database. Thus, can resolve the classification and regressor problems. Utilizes a tree like structure. Most effective with large databases having multiple attributes.**Lasso Regression:**The other form of a regularization methodology. Employed to diminish the complexity faced in a model.