Tuesday, October 13, 2020

Linear Regression in Machine Learning

 Linear Regression !!!

Linear Regression algorithm is the first and the best algorithm to dive deeper into the world of not only Machine Learning but way ahead you can understand number of  concepts of Deep Learning.

Either you want to properly understand Logistic Regression, SVM, or built your own first Artificial Neural Network(ANN) Linear Regression intuition  is much needed.

So why waste time ?

Lets begin !!!

For a normal person  a straight line is just a straight line but for a mathematician its a bundle of source of information.

lets see how, 

equation  of a straight line in mathematics is given as

                                                  where m is slope of a line and c is intercept. 

lets visualize this equation with a graph


Here, X is the independent variable and Y is the dependent variable.

Which means if we know the value of X we can find the value of  Y.

for example in real life.

if you have 1 chocolate of worth 2$.

what is the cost of 5 chocolates??

                            lets say X is number of chocolates and Y is Cost                                                                                        and m is the price of one chocolate then Y can be calculated from


so for our question, 

                                                                                                    









                                           



 

 

 


 

Linear Regression in Machine Learning

 Linear Regression !!! Linear Regression algorithm is the first and the best algorithm to dive deeper into the world of not only Machine Lea...