Question: These exercises take you through an analysis using the tissue_gene_expression dataset, which can be found in the dslabs packge. Q1 1 point possible (graded) Load
These exercises take you through an analysis using the tissue_gene_expression dataset, which can be found in the "dslabs" packge. Q1 1 point possible (graded) Load the rpart package and then use the caret::train() function with method = "rpart" to fit a classification tree to the tissue_gene_expression dataset. Try out cp values of seq(0, 0.1, 0.01). Plot the accuracies to report the results of the best model. Set the seed to 1991. Which value of cp gives the highest accuracy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
