
系统默认 trees-J48 决策树算法中 minNumObj=2,得到如下结果
=== Summary ===
Correctly Classified Instances 23 88.4615 %
Incorrectly Classified Instances 3 11.5385 %
Kappa statistic 0.7636
Mean absolute error 0.141
Root mean squared error 0.3255
Relative absolute error 30.7368 %
Root relative squared error 68.0307 %
Total Number of Instances 26
=== Detailed Accuracy By Class ===
TP Rate FP Rate Precision Recall F-Measure ROC Area Class
0.824 0 1 0.824 0.903 0.892 N
1 0.176 0.75 1 0.857 0.892 Y
Weighted Avg. 0.885 0.061 0.913 0.885 0.887 0.892
=== Confusion Matrix ===
a b <-- classified as
14 3 | a = N
0 9 | b = Y
使用不同的参数准确率比拟:
Correctly Classified
Instances
由上表,可知 minNumObj 为 2 时,准确率最高。
评论5
最新资源