Machine Learning Regression Bonus #2

Published by SuperDataScience Team

Live Training With Hadelin
Discover the 5 steps to Unlock your Career!
As students progress from learning Linear Regression to Multiple Linear Regression there are a few common questions that arise.
This free bonus tackles two of the most frequently asked Multiple Linear Regression-related questions that we hear from students on their Machine Learning journey.
Question 1: How do I use my multiple linear regression model to make a single prediction, for example, the profit of a startup with R&D Spend = 160000, Administration Spend = 130000, Marketing Spend = 300000 and State = California?
Question 2: How do I get the final regression equation y = b0 + b1 x1 + b2 x2 + … with the final values of the coefficients?
Here the step-by-step coding exercise you receive in this Google Colab bonus:
- Importing libraries
- Importing datasets
- Encoding categorical data
- Splitting the data into Training and Test sets
- Training the Multiple Linear Regression model on the Training set
- Predicting the Test set results
- Making a single prediction
- Getting the final linear regression equation (with the values of the coefficients)
Get your Multiple Linear Regression Bonus Here
Enjoy!