Codecademy Live Linear Regression #2: Categorical Predictors3,964 ViewsMay 25, 2021
Welcome to linear regression with Codecademy!
Curriculum Developers Sophie and Alex will continue to walk us through our Linear Regression in Python course. Check out the full course here: https://j.mp/3bprVVE
- In our second session, we'll demonstrate how to include a categorical predictor with two or more categories in a simple linear model. For example, we'll learn how to predict the price of a New York City apartment based on the borough where it is located. This will help us build our intuition for how to create and interpret more complex linear models.
The code used in this video can be found here: https://github.com/Codecademy/Linear-Regression-Live-Series