estimates of predictor importance for classification ensemble of decision trees -凯发k8网页登录
estimates of predictor importance for classification ensemble of decision trees
syntax
imp = predictorimportance(ens)
[imp,ma]
= predictorimportance(ens)
description
computes estimates of predictor importance for imp
= predictorimportance(ens
)ens
by summing these
estimates over all weak learners in the ensemble. imp
has one element
for each input predictor in the data used to train this ensemble. a high value indicates
that this predictor is important for ens
.
[
returns a imp
,ma
]
= predictorimportance(ens
)p
-by-p
matrix with predictive measures
of association for p
predictors, when the learners in
ens
contain surrogate splits. see more about.
input arguments
|
a classification ensemble of decision trees, created by |
output arguments
|
a row vector with the same number of elements as the number of predictors
(columns) in |
|
a |
examples
more about
algorithms
element ma(i,j)
is the predictive measure of association averaged
over surrogate splits on predictor j
for which predictor
i
is the optimal split predictor. this average is computed by
summing positive values of the predictive measure of association over optimal splits on
predictor i
and surrogate splits on predictor j
and dividing by the total number of optimal splits on predictor i
,
including splits for which the predictive measure of association between predictors
i
and j
is negative.