This tutorial will walk you through the process of performing a linear regression in Python for supervised machine learning. The topics covered in this video will be:
00:00 - 01:01 When to use linear regression
01:02 - 01:40 Which packages to use for linear regression
01:41 - 03:43 Case study: predicting brain weights
03:44 - 04:26 Handling categorical variables
04:27 - 05:11 Splitting response and explanatory columns
05:12 - 05:56 Creating training and testing sets
05:57 - 06:41 Fitting the model to the training set
06:42 - 11:09 Making predictions using the model
11:10 - 13:44 Checking model fit
13:45 - 14:47 Next steps
[Try it yourself!]
Pre-prepared workspace: https://bit.ly/39mp0zh
[More about Python]
Python is the most popular programming language today and is widely used across verticals from software and web development, game development, data science, machine learning, and more. Learning Python is imperative for aspiring data scientists, data analysts, data engineers, and machine learning scientists.
To learn more about Python, check out the following resources:
Subscribe to our Youtube Channel - / datacamp
Check out our Introduction to Python course - https://www.datacamp.com/courses/intr...
R vs Python — which tool is best for you? - https://www.datacamp.com/community/tu...
Read our cheat sheets! - https://www.datacamp.com/cheat-sheet
Instagram: / datacamp
Twitter: / datacamp
Facebook: / datacampinc
Youtube: https://www.youtube.com/channel/UC79G...
LinkedIn: / datac. .
Website: https://www.datacamp.com/
Interesting Reads:
Employee Spotlight: Hettie McConnell, Software Engineer | DataCamp https://www.datacamp.com/blog/employe...
DataCamp Classrooms lands in Australia: you too can contribute | DataCamp https://www.datacamp.com/blog/datacam...
How to Become a Data Analyst and Land Your First Job | DataCamp https://www.datacamp.com/blog/how-to-...