How to interpret the decision tree?

r
decision_trees

#1

I am currently solving the titanic problem of kaggle.I have used decision tree algorithm to build my model for selection of important variable I have plot one decision tree.I want to know how to interpret the decision tree for the selection of important variable.


#2

hello @sid100158.

There is a function varImp in “caret”:

library(caret)
varImp(Agefit)

where Agefit is an rpart object.