Introduction to Machine Learning

Simple Linear Regression

Ali Atiyab Husain

In this chapter we will learn about one of the most basic supervised Machine Learning Algorithm - Simple Linear  Regression.

Simple Linear Regression

This is one of the most basic supervised machine learning algorithm- The linear Regression.Here we use only one feature(independent variable) for predicting the values. This algorithm predicts the correct value on the basis if the best fit line .

We find the best fit line according to the

y = mx+c

equation , applying this here we get;

Y - The predicted values/labels/output.

X - The feature of the dataset.

m - The slope of the line which is found mathematically.

C - The intercept made by the line on the y-axis.