Check out the code here.
Step 1: Importing the required Libraries.
Step 2: Importing the Data Set.
Step 3: Handling the Missing Data.
Step 4: Encoding Categorical Data.
Step 5: Splitting the dataset into test set and training set.
Step 6: Feature Scaling.
Check out the code here.
Step 1: PreProcess the data.
Step 2: Fitting Simple Linear Regression model to the training set.
Step 3: Predicting the result.
Step 4: Visualization.
Check out the code here
Step 1: PreProcess the data.
Step 2: Fitting Multiple Linear Regression model to the training set.
Step 3: Predicting the result.