Lab 9 - Due by the end of Module 6
Why?: In Lab 9 we are using RStudio to use Decision Trees for classification. We are using Decision Trees to assist with the decision of whether or not to play golf. This is a short lab.
When you install “rpart.plot”, you may be asked to pick a CRAN mirror. This is a safe download location. Just pick something geographically close to us (Michigan or Indiana, for example).
Complete Lab Exercise 9 in the EMC Lab Guide. For credit, you only need to answer questions that appear
below (at the bottom of this document).
Note:
· You will want to open the script file “DT.R” to assist you in the lab steps.
Post all answers/screen shots
to your class Google Sites page under “LAB09”.
Step 5: Show a screen shot of your Decision Tree for
the “Play?” decision.
Step 7: For newdata (rainy, mild, high humidity, Wind
FALSE), what is your prediction for “Play?”.