Linear Regression-method of prediction

Linear Regression is the analyses of two separate variables to define a single relationship. In this, we predict one variable depending on the other variable.

The factor which we predict is known as Dependent Variable and other is Independent Variable.

We will try to understand this relationship with an example of Car's speed and Car's mileage.

Here, car's mileage is a depending variable and will denote it with 'Y' and car's speed is an independent variable and will denote it with 'X'.

Car's Speed(miles per hour-X) Car's Mileage(miles per gallon-Y)

30 33

40 30

50 25

60 20

The graph will show BEST FITTED LINE which means this is closest prediction with minimum error:




Thank you everyone for reading.


Neeta Varshney

43 views0 comments

Recent Posts

See All

API/Web Service Overview:

So lets start off by learning what exactly is a Web Service? Its a method of communication between two applications or electronic devices over the worldwide web. Here is an example: Consider a flight