Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Algebra Form And Function

Authors: William G McCallum, Eric Connally, Deborah Hughes Hallett

2nd Edition

1119032091, 9781119032090

More Books

Students also viewed these Mathematics questions

Question

6. Focus on one idea at a time, and avoid digressions.

Answered: 1 week ago

Question

An RFP should be sent to as many vendors as possible. True False

Answered: 1 week ago