LINEAR REGRESSION
One of the simplest and most often used machine learning methods is linear regression. It's a statistical technique for forecasting analysis. Linear regression produces predictions for continuous/real or numerical variables such as age, product price, sales, and so on.
The term "LINEAR REGRESSION" refers to a procedure that displays a linear connection between one or more independent (y) variables and a dependent (y) variable. Given that it displays a linear connection, linear regression determines how the value of the dependent variable varies in response to the value of the independent variable.
The link between the variables is represented by a skewed straight line according to the linear regression model. Take a look at the picture below:
In Machine Learning, Linear Regression
A linear regression can be mathematically represented as:
y= a0+a1x+ ε
Here,
Y= Dependent Variable (Target Variable)
X= Independent Variable (predictor Variable)
a0= intercept of the line (Gives an additional degree of freedom)
a1 = Linear regression coefficient (scale factor to each input value).
ε = random error
Simple Linear Regression: If a single independent variable is used to predict the value of a numerical dependent variable, then such a Linear Regression algorithm is called Simple Linear Regression.
References:
[1]https://www.javatpoint.com/linear-regression-in-machine-learning
No comments:
Post a Comment