feature_imp_dt {lazy.tree}R Documentation

Calculation of Feature Importance

Description

Calculation of Feature Importance

Usage

feature_imp_dt(obj, print = 0)

Arguments

obj

A class DecTree object.

print

= 1 to print the result

Examples

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 )


[Package lazy.tree version 0.1.6 ]