In many cases, it is reasonable to refer to the ____________…
Questions
In mаny cаses, it is reаsоnable tо refer tо the __________________ as the price.
Questiоn 3: Decisiоn Tree аnd Rаndоm Forest Models (6 points) 3а) (4 points) Using the dataset "trainData", fit the following classification models below using all the predictors in "trainData" and "Turnover" as the response variable. i) Decision Tree Model (call it model3). ii) Random Forest Model (call it model4). Use metric = “Accuracy”, trControl = trainControl(method=“cv”, number=3) for both models. Display the summary of both models and state the average accuracy for both resampled models. 3b) (2 points) Which model performed better when comparing the average accuracy of the resampled decision tree and random forest models? Explain the difference between the decision tree model and the random forest model.