Decision Tree - Build decision trees to analyse important prognostic factors influencing breast cancer survival prediction
library (rpart) library (rpart.plot) library (party)
all_data <- read.csv (file='D:/model_evaluation/all_data.csv')
tree1 <- ctree (V24 ~ V9+V22+V23, data = all_data) #Stage, total lymph nodes, positive Lymph nodes
plot (tree1)
change more
change testing