- 3
- 2
=== Run information ===
Scheme:weka.classifiers.trees.J48 -C 0.25 -M 2
Relation: iris
Instances: 150
Attributes: 5
sepallength
sepalwidth
petallength
petalwidth
class
Test mode:split 70.0% train, remainder test
=== Classifier model (full training set) ===
J48 pruned tree
------------------
petalwidth <= 0.6: Iris-setosa (50.0)
petalwidth > 0.6
| petalwidth <= 1.7
| | petallength <= 4.9: Iris-versicolor (48.0/1.0)
| | petallength > 4.9
| | | petalwidth <= 1.5: Iris-virginica (3.0)
| | | petalwidth > 1.5: Iris-versicolor (3.0/1.0)
| petalwidth > 1.7: Iris-virginica (46.0/1.0)
Number of Leaves : 5
Size of the tree : 9
Time taken to build model: 0 seconds
=== Evaluation on test split ===
=== Summary ===
Correctly Classified Instances 43 95.5556 %
Incorrectly Classified Instances 2 4.4444 %
Kappa statistic 0.9331
Mean absolute error 0.0416
Root mean squared error 0.1682
Relative absolute error 9.3466 %
Root relative squared error 35.6559 %
Total Number of Instances 45
=== Detailed Accuracy By Class ===
TP Rate FP Rate Precision Recall F-Measure ROC Area Class
1 0 1 1 1 1 Iris-setosa
1 0.069 0.889 1 0.941 0.966 Iris-versicolor
0.867 0 1 0.867 0.929 0.964 Iris-virginica
Weighted Avg. 0.956 0.025 0.96 0.956 0.955 0.976
=== Confusion Matrix ===
a b c <-- classified as
14 0 0 | a = Iris-setosa
0 16 0 | b = Iris-versicolor
0 2 13 | c = Iris-virginica
=== Run information ===
Scheme:weka.classifiers.lazy.IBk -K 5 -W 0 -A "weka.core.neighboursearch.LinearNNSearch -A \"weka.core.EuclideanDistance -R first-last\""
Relation: iris
Instances: 150
Attributes: 5
sepallength
sepalwidth
petallength
petalwidth
class
Test mode:split 70.0% train, remainder test
=== Classifier model (full training set) ===
IB1 instance-based classifier
using 5 nearest neighbour(s) for classification
Time taken to build model: 0 seconds
=== Evaluation on test split ===
=== Summary ===
Correctly Classified Instances 44 97.7778 %
Incorrectly Classified Instances 1 2.2222 %
Kappa statistic 0.9666
Mean absolute error 0.0261
Root mean squared error 0.0975
Relative absolute error 5.8676 %
Root relative squared error 20.6771 %
Total Number of Instances 45
=== Detailed Accuracy By Class ===
TP Rate FP Rate Precision Recall F-Measure ROC Area Class
1 0 1 1 1 1 Iris-setosa
1 0.034 0.941 1 0.97 1 Iris-versicolor
0.933 0 1 0.933 0.966 1 Iris-virginica
Weighted Avg. 0.978 0.012 0.979 0.978 0.978 1
=== Confusion Matrix ===
a b c <-- classified as
14 0 0 | a = Iris-setosa
0 16 0 | b = Iris-versicolor
0 1 14 | c = Iris-virginica