3.2 Specific Tasks to Complete
Build a logistic regression model using
quality
as the target variable. Note that you don’t have binary classification task any more. For this you will have to use multinomial logistic regression. However, you can still interpret the model output (i.e., statistical significance of the coefficients, etc. exactly the same way as binary logistic regression).Use support vector machine (SVM) to estimate the model. Treat quality as a multiple categorical variable.
Treat quality as a continuous variable. Estimate a linear regression model and compare the output with multinomial regression and SVM.
Estimate the model using quality as an ordinal variable.