用RWeka包的J48命令做决策树,输入的数据是40000条,为什么混淆矩阵中只记录33671条。请高人指点一下。
> dim(t_all_f)
[1] 40000 131
> m_C4.5_a <- J48(FALSE_FLAG ~ ., data = t_all_f)
> summary(m_C4.5_a)
=== Summary ===
Correctly Classified Instances 30154 89.5548 %
Incorrectly Classified Instances 3517 10.4452 %
Kappa statistic 0.7728
Mean absolute error 0.148
Root mean squared error 0.2907
Relative absolute error 32.3064 %
Root relative squared error 60.7489 %
Total Number of Instances 33671
=== Confusion Matrix ===
a b <-- classified as
19852 1858 | a = 0
1659 10302 | b = 1


雷达卡




京公网安备 11010802022788号







