Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Option #1 k-Nearest Neighbor Suppose you work for a wine company as a data mining expert. You are to build a k-nearest neighbor algorithm to

Option #1 k-Nearest Neighbor

Suppose you work for a wine company as a data mining expert. You are to build a k-nearest neighbor algorithm to predict the quality of wine from different factors. Download the dataset called winequality-red.csv(Links to an external site.) from Module 4 and then perform the following tasks. The data description is provided in the file called description-winequality-red.docx(Links to an external site.).

  1. Provide the summary statistics for all the variables from the dataset. Explain some of the key aspects of the dataset.
  2. Examine the SAS code from mod4knn.sas(Links to an external site.) file and for each SAS statement, provide the explanation of the code as SAS comments. Put this part in the Appendix of your report.
  3. Perform the k-NN using k = 1, 2, and 3. For each case, explain the SAS output and give interpretation(s).
  4. Which case (k = 1, 2, or 3) provides the best model? Explain why using the output from part c.

Take the screenshots of SAS output and paste them into a Word document. Include all relevant calculations and your responses to all items (1, 2, 3, and 4) and submit the document to Canvas for grading. Clearly label all elements in your submission. In addition, provide a short description of any challenge(s) you faced during this assignment.

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

Reading, Writing, And Proving A Closer Look At Mathematics

Authors: Ulrich Daepp, Pamela Gorkin

2nd Edition

1441994793, 9781441994790

More Books

Students also viewed these Mathematics questions

Question

List three types of cost that are controllable with ZBB. LO1

Answered: 1 week ago

Question

Briefly describe the ranking process under ZBB. LO1

Answered: 1 week ago