Updated index.md for Linear Regression (#19089)

* Updated index.md for Linear Regression

I am adding little more information and in easy terms to better understand the concept of Linear regression.

* corrected contributor's link syntax
This commit is contained in:
Tusharkanth Karlapudi
2018-10-15 01:59:45 +00:00
committed by Randell Dawson
parent 43174378c9
commit 758d9b71f9

View File

@ -2,9 +2,11 @@
title: Linear Regression
---
## Linear Regression
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.
<a href='https://www.mladdict.com/linear-regression-simulator' target='_blank' rel='nofollow'>Online linear regression simulator</a>
[Online linear regression simulator](https://www.mladdict.com/linear-regression-simulator)
In Python:
```py