Question
The dataset is related to white Portuguese Vinho Verde wine. For more info: https://archive.ics.uci.edu/ml/datasets/Wine+Quality Import the following file: http://archive.ics.uci.edu/ml/machine-learning-databases/wine- quality/winequality-white.csv This assignment will require writing
The dataset is related to white Portuguese "Vinho Verde" wine. For more info: https://archive.ics.uci.edu/ml/datasets/Wine+Quality Import the following file:
http://archive.ics.uci.edu/ml/machine-learning-databases/wine- quality/winequality-white.csv
This assignment will require writing R codes
5. Reduce the levels of rating for quality to two levels as Pass and Fail. Assign the levels of 3, 4 and 5 to level Fail; and 6, 7, 8 and 9 to level Pass. (10 points)
6. Normalize the numeric attributes. Hint: (x - min(x)) / (max(x) - min(x)) (12 points)
7. Divide the dataset to training and test sets. (12 points)
8. Use the Logistic Regression algorithm to predict the quality of wine using its attributes. (12 points)
9. Display the confusion matrix to evaluate the model performance. (12 points)
10. Evaluate the model performance by computing Accuracy, Sensitivity and Specificity. (15 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started