Перейти к содержимому

Lab 6 Multiple Linear Regression in Python

Chad Gregory

0:00 / 0:00

Lab 6 Multiple Linear Regression in Python

33 просмотра · 7 дней назад
Chad Gregory
33 просмотра · 7 дней назад
This lab is essentially the same as Lab 4, except it uses multiple factors, such as department budgets and location, to predict profit for a branch of a company. We split the data into independent an dependent variables, create training and test sets, and train a regressor. The only thing we don't do this time is graph the result, but you should recognize a lot of the code from the previous labs. All of the code in the video is correct, but near the end I forgot to execute a block of code and then get confused when the next block throws out an error. It took me about a minute to figure it out and I could have easily edited this out of the video, but I decided to leave it in so you can see that mistakes can be made by anyone and not to feel bad if you get an error when running your code. As always, pause the video as much as you need to. I'm not teaching you how to code, simply exposing you to some code you might see in your future career. Good luck and please ask questions if you run into any issues!