how importance is calculated when pre() is used

28 Views Asked by At

Does anyone know how baseimps are calculated?

library(pre)
tree.pre <- pre(A ~ ., data=data_set, tree.unbiased=FALSE, maxdepth=3, ntrees=100)
imps <- importance(tree.pre)
imps$baseimps[1:3,]

enter image description here

pre() with CART algorithm was used and all variables are continuous.
importance() provides baseimps of the model but have no idea how it's calcaulated.

0

There are 0 best solutions below