Last answered:

28 Dec 2022

Posted on:

25 Dec 2022

0

Quiz question at machine learning course about peer prediction and using regression to predict it ??

in the quiz question :You are trying to predict the amount of beer consumed in the US, depending on the state. how can I use regression with categorical variable on x axes ?

1 answers ( 0 marked as helpful)
Instructor
Posted on:

28 Dec 2022

0

hey omar! to use a categorical variable in your regression, you can encode it as a dummy variable or use one of the categorical encoding techniques we teach in the course!

Submit an answer