Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[40 points] The dataset used in this problem is related to the quality of white wine. The data includes 4898 samples of wine. There are

[40 points]

The dataset used in this problem is related to the quality of white wine. The data includes 4898 samples of wine. There are 11 variables have potential effect to the response variable (quality). The data file winequality-white.txt and its description winequality-white_description.txt are uploaded on Canvas. The goal of this problem is to get you familiar with R and using R-packages to make the decision tree model and random forest model.

A) Using rpart R-package to make a decision tree and plot the tree. Which variable has the highest impact to the quality of white wine (show your result)?

B) Making a random forest model using the whole dataset, report your results. How does this result look like in comparison to part a?

Data sources:

http://archive.ics.uci.edu/ml/datasets/Wine+Quality

https://www.superdatascience.com/

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

Ehs 2.0 Revolutionizing The Future Of Safety With Digital Technology

Authors: Tony Mudd

1st Edition

B0CN69B3HW, 979-8867463663

More Books

Students also viewed these Databases questions

Question

Define the three main types of hazard.

Answered: 1 week ago