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)
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!