October 2017
Beginner to intermediate
572 pages
26h 1m
English
Perform the following steps to rank the variable importance with the caret package:
> importance = varImp(model, scale=FALSE)
> importance
Output
rpart variable importance
Overall
number_customer_service_calls 116.015
total_day_minutes 106.988
total_day_charge 100.648
international_planyes 86.789
voice_mail_planyes 25.974
total_eve_charge 23.097
total_eve_minutes 23.097
number_vmail_messages 19.885
total_intl_minutes 6.347
total_eve_calls 0.000
total_day_calls 0.000
total_night_charge 0.000
total_intl_calls 0.000
total_intl_charge 0.000
total_night_minutes 0.000
total_night_calls 0.000
Read now
Unlock full access