From 809c83049db185716f50594356afbe4daf3772f2 Mon Sep 17 00:00:00 2001 From: Mudit Choraria <32506556+procode-dd@users.noreply.github.com> Date: Sat, 17 Nov 2018 23:47:07 +0530 Subject: [PATCH] Updated the definition of Linear Regression (#21908) * Updated the definition of Linear Regression Stated that linear regression is a supervised and discriminative machine learning algorithm. * Added the link to a descriptive article --- guide/english/machine-learning/linear-regression/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guide/english/machine-learning/linear-regression/index.md b/guide/english/machine-learning/linear-regression/index.md index 658c6ce0f2..2ec8b0de36 100644 --- a/guide/english/machine-learning/linear-regression/index.md +++ b/guide/english/machine-learning/linear-regression/index.md @@ -2,6 +2,9 @@ title: Linear Regression --- ## Linear Regression + +[Linear Regression](https://masmlblog.wordpress.com/2017/10/31/the-linear-regression-algorithm/) is a **discriminative** machine learning algorithm to relate the dependent variable, i.e ‘Y’ on the independent variables i.e ‘Xi‘. Unlike generative models, it does not allow the user to generate samples from the distribution of X and Y. Linear regression is a **supervised** learning algorithm, i.e labelled dataset is needed to train it for the model to be able to make predictions on its own. + Linear regression is a type of regression, or one of the several regression techniques which are used to find the best fitting line for the given set of points in the given dataset. Linear regression helps us predict score of a variable X from the scores on other variables Y. When the variables Y are plotted, linear regression finds the best-fitting straight line through the points. The best-fitting line is called a regression line. This is done by taking a line equation and comparing it with the points and the required result and then calibrated in such a way that the difference/distance between the points and the line, or simply error, is kept to the minimum. This way of calibrating is called Least Squared Error method.