Simple Linear Regression Using Python The very basics of Machine Learning starts with understanding Simple Linear Regression and implementing it in a programing language. Python being already equipped with so many statistical computing and analysis library makes this task way easier. Let's learn how can we use python to predict some values using SLR . I am using Spyder as IDE. We will be using a test set containing salaries and years of experience. Like this:- YearsExperience Salary 1.1 39343 1.3 46205 1.5 37731 2 43525 2.2 39891 2.9 56642 3 60150 3.2 54445 3.2 64445 The dataset has 30 records and can be found in the link Here Once done. You need to import this dataset into python for which you can use the class Pandas Import it by writing import pandas as pd You now need to obtain the import the dataset. dataset = pd.read_csv('Salary_Data.csv') Ensure that the file is in the same d