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

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 Mathematics Questions!