Question
programming in R Using just the package randomForest and dataset(wdbc.data) from (http://archive.ics.uci.edu/ml/machine-learning-databases/breast-cancer-wisconsin/): 1) load it into R and normalize the predictor columns (3-32) appropriately. Column
programming in R
Using just the package randomForest and dataset(wdbc.data) from (http://archive.ics.uci.edu/ml/machine-learning-databases/breast-cancer-wisconsin/):
1) load it into R and normalize the predictor columns (3-32) appropriately. Column 2 is the response column. Shuffle the data and use 400 rows as training, and the remaining as test observations.
2) Train a Random Forest to predict if the cancer is benign or malignant. Report train and test set misclassification error and comment on the importance of the individual predictors. (Useful package: randomForest).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started