[40 points]
The dataset used in this problem is related to the quality ofwhite wine. The data includes 4898 samples of wine. There are 11variables have potential effect to the response variable (quality).The data file “winequality-white.txt” and its description“winequality-white_description.txt” are uploaded onCanvas. The goal of this problem is to get you familiar with R andusing R-packages to make the decision tree model and random forestmodel.
A) Using “rpart” R-package to make a decision tree and plot thetree. Which variable has the highest impact to the quality of whitewine (show your result)?
B) Making a random forest model using the whole dataset, reportyour results.
PayPal Gateway not configured
PayPal Gateway not configured