zmb7227
在用随机森林模型randomForest包建立随机森林后建立森林出现了
Call:
randomForest(formula = 替代率 ~ ., data = rw, mtry = 6, ntree = 500, proximity = TRUE)
Type of random forest: classification
Number of trees: 500
No. of variables tried at each split: 6
OOB estimate of error rate: 15.15%
Confusion matrix:
FULL HIGH LOW MID class.error
FULL 2967 22 23 7 0.01722425
HIGH 150 2170 17 269 0.16730622
LOW 37 36 652 178 0.27796235
MID 43 378 76 1133 0.30490798
但是用importance只有MeanDecreaseGini 另一个没有,这个大概是什么情况,谢谢
MeanDecreaseGini
X1 314.89064
X2 292.33009
X3 69.82616
X4 133.47128
X5 146.59726
X6 163.28678
X7 107.90663
X8 2822.35339
X9 528.25671
X10 679.82539
X11 510.78395
请各位专家指导下 谢谢