feature_imp_dt {lazy.tree} | R Documentation |
Calculation of Feature Importance
feature_imp_dt(obj, print = 0)
obj |
A class DecTree object. |
print |
= 1 to print the result |
Xc <- data.frame(x1=as.factor(square$x1),x2=as.factor(square$x2))
res1 <- DecTree( square$Class4, Xc, minnobs=1, eps=0, method=4, print=3
, plot=0, title="square: categorical y, categorical X" )
fi <- feature_imp_dt( res1, print=1 )