Question: Use R Programming The dataset used in this problem is related to the quality of white wine. The data includes 4898 samples of wine. There

Use R Programming

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.

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)?

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!