You are on page 1of 11

()

2014/2015

: Pen-Based Recognition of Handwritten Digits

:

240068/2014

1.

. .
,
. ,
.

2.
250 44 . 30
, ,
14 .
500 500 ,
0 100.
8 (x, y) , .
8 (x, y) 16
0 100. 7494 3498
.
0
780

363

1
779

2
780

3
719

4
780

5
720

6
720

7
778

8
718

9
719

Total
7493

364

364
336
364
335
336
364
1:

335

336

3497

1: 3 8

3.
Weka PART -M 2 -C
0.25 -Q 1. 58 .
At14 > 52 AND
At15 > 89 AND
At14 > 80: 5 (451.0/1.0)
At16 > 19 AND
At14 > 57 AND
At9 > 57 AND
At2 > 13 AND
At11 > 41 AND
At3 <= 54 AND
At6 <= 52: 0 (711.0/1.0)
At16 > 18 AND
At16 > 60 AND
At2 > 14 AND
At16 > 69 AND
At7 > 23 AND
At13 > 20: 8 (420.0/1.0)
At5 <= 40 AND
At10 <= 18 AND
At11 > 35 AND
At16 <= 68 AND
At15 <= 55 AND
At2 > 84: 6 (632.0)
At16 > 20
At4 <= 84
At10 > 68
At6 > 16:
At16 >
At4 <=
At10 >
At7 <=
At16 >

AND
AND
AND
9 (28.0)

21 AND
84 AND
13 AND
98 AND
30: 8 (187.0)

At16 > 20 AND


At14 > 12 AND
At1 <= 43 AND
At4 > 78 AND
At5 > 32 AND
At9 > 1 AND
At2 > 70 AND

At16 <= 63: 7 (657.0/1.0)


At11 <= 50 AND
At16 <= 17 AND
At12 <= 36 AND
At15 > 34 AND
At4 > 95 AND
At13 > 50 AND
At10 > 4: 2 (321.0)
At6 <= 66 AND
At11 > 47 AND
At16 <= 0 AND
At8 <= 67 AND
At14 > 18: 4 (719.0/3.0)
At11 <= 50 AND
At14 <= 26 AND
At1 > 85 AND
At12 <= 14: 6 (38.0)
At11 <= 50 AND
At16 > 34 AND
At4 > 69 AND
At1 > 34 AND
At5 <= 83: 8 (60.0/2.0)
At11 <= 50 AND
At12 <= 30 AND
At15 > 32 AND
At14 <= 20 AND
At4 <= 88 AND
At12 <= 13 AND
At13 <= 48: 1 (53.0)
At11 <= 50 AND
At12 <= 30 AND
At15 > 32 AND
At14 <= 20 AND
At9 <= 18 AND
At5 > 28: 2 (178.0/1.0)
At11 <= 50 AND
At12 <= 30 AND
At16 <= 18 AND
At15 > 34 AND
At5 > 73 AND
At3 <= 70 AND
At6 <= 97: 2 (129.0/1.0)

At10 > 57 AND


At1 > 23 AND
At13 > 25 AND
At11 > 54 AND
At3 <= 89 AND
At2 > 63 AND
At10 > 61 AND
At6 <= 99 AND
At13 > 37 AND
At8 > 60: 9 (304.0)
At15 <= 18 AND
At14 <= 17 AND
At4 > 92 AND
At5 > 65 AND
At8 <= 71 AND
At11 > 55 AND
At10 > 24 AND
At3 <= 86: 3 (527.0)
At2 <= 77 AND
At16 <= 10 AND
At7 <= 40 AND
At12 > 29 AND
At16 <= 5 AND
At10 > 40: 9 (123.0/1.0)
At2 <= 74 AND
At16 <= 12 AND
At1 <= 61 AND
At4 <= 88 AND
At9 > 29 AND
At14 > 1 AND
At12 <= 68: 1 (502.0)
At11 <= 37 AND
At4 > 75 AND
At16 > 18 AND
At5 > 46 AND
At8 > 22: 7 (21.0/1.0)
At11
At10
At16
At15
At13

<=
<=
<=
<=
<=

37 AND
69 AND
25 AND
34 AND
36: 1 (32.0)

At15 > 61 AND

At16 > 29 AND


At13 > 72: 0 (18.0)
At15 > 61 AND
At13 <= 69 AND
At16 <= 18 AND
At12 <= 32 AND
At14 <= 16 AND
At7 <= 49 AND
At13 <= 60: 1 (40.0/1.0)
At15
At13
At16
At16

> 61 AND
<= 69 AND
> 29 AND
> 76: 5 (7.0)

At15 > 61 AND


At13 <= 69 AND
At12 <= 32 AND
At14 <= 14 AND
At3 <= 42 AND
At4 > 79 AND
At11 <= 6: 2 (50.0)
At11 <= 37 AND
At6 <= 45 AND
At6 <= 22: 0 (10.0)
At11 <= 37 AND
At15 > 36 AND
At14 <= 19 AND
At5 > 85 AND
At9 <= 52: 2 (47.0)
At10 <= 23 AND
At16 > 46 AND
At7 <= 39: 0 (23.0/1.0)
At10 <= 23 AND
At14 <= 14 AND
At9 > 34: 1 (74.0/3.0)
At10 <= 23 AND
At15 <= 59 AND
At16 <= 46 AND
At1 > 12: 6 (47.0)
At15 <= 18 AND
At14 <= 18 AND

At2 > 50 AND


At4 <= 85 AND
At2 > 67 AND
At11 > 60: 9 (83.0/1.0)
At14 <= 17 AND
At15 > 49 AND
At12 <= 32 AND
At16 <= 18 AND
At3 > 48 AND
At9 > 27: 1 (29.0/1.0)
At14 <= 17 AND
At15 > 49 AND
At14 <= 12 AND
At4 > 72 AND
At15 > 66: 2 (38.0/2.0)
At14 <= 17 AND
At2 <= 50 AND
At11 > 66: 8 (25.0)
At14 <= 17 AND
At7 <= 59 AND
At15 <= 34 AND
At2 > 78 AND
At1 > 15 AND
At3 > 23 AND
At6 > 79 AND
At3 > 52: 5 (198.0/1.0)
At14 <= 16 AND
At1 > 70 AND
At7 <= 42 AND
At14 <= 8: 5 (31.0)
At14 <= 16 AND
At1 > 70 AND
At11 > 49 AND
At5 <= 84 AND
At8 > 56 AND
At5 > 30: 9 (66.0)
At14 <= 16 AND
At13 <= 27 AND
At10 > 37: 1 (16.0/1.0)
At14 <= 16 AND
At5 > 51 AND

At9 > 42 AND


At8 <= 91 AND
At10 <= 67 AND
At4 > 89 AND
At15 <= 49 AND
At8 <= 84 AND
At4 > 97: 3 (146.0/1.0)
At8 <= 50 AND
At16 <= 2 AND
At7 <= 49: 4 (42.0/1.0)
At8 <= 46 AND
At12 <= 72 AND
At15 <= 51: 8 (22.0/1.0)
At7
At6
At1
At4
At6

> 75 AND
> 73 AND
<= 52 AND
<= 88 AND
> 82: 1 (23.0/1.0)

At7 > 75 AND


At4 > 83 AND
At1 <= 43 AND
At12 > 40 AND
At15 <= 63: 7 (80.0)
At6 <= 53 AND
At12 > 75: 0 (18.0/1.0)
At12 > 50 AND
At6 > 73 AND
At8 > 65: 9 (49.0)
At10 <= 22 AND
At16 <= 60 AND
At11 <= 24: 2 (15.0/2.0)
At14 <= 21 AND
At1 > 39 AND
At10 > 47 AND
At9 > 39 AND
At6 <= 97 AND
At8 > 64: 9 (39.0)
At14 > 21 AND
At16 > 13 AND
At15 > 37: 7 (6.0/1.0)

At14 > 21 AND


At16 <= 18 AND
At4 > 59 AND
At1 <= 79 AND
At6 <= 88: 4 (23.0/1.0)
At12 <= 1 AND
At15 <= 32: 8 (8.0/1.0)
At10 > 66 AND
At4 > 61 AND
At5 <= 69 AND
At7 <= 92: 9 (21.0)
At7 <= 69 AND
At3 > 40 AND
At6 > 71: 5 (32.0/2.0)
At16 <= 14 AND
At4 <= 90 AND
At8 <= 85: 1 (8.0/1.0)
At16 <= 14 AND
At8 <= 80 AND
At15 <= 56 AND
At5 > 34 AND
At3 <= 65: 3 (23.0)
At5 <= 48 AND
At7 > 39: 9 (5.0)
At16 <= 14 AND
At8 <= 80 AND
At8 <= 62: 3 (8.0)
At8 > 80 AND
At2 <= 92: 3 (12.0/2.0)
At3 <= 53 AND
At7 > 54: 7 (11.0)
: 1 (8.0/1.0)
Number of Rules

58

=== Stratified cross-validation ===


=== Summary ===
Correctly Classified Instances

7236

96.5572 %

Incorrectly Classified Instances


Kappa statistic
Mean absolute error
Root mean squared error
Relative absolute error
Root relative squared error
Total Number of Instances

258
0.9617
0.0076
0.0815
4.2087 %
27.1801 %
7494

3.4428 %

=== Detailed Accuracy By Class ===

Weighted Avg.

TP Rate
0.957
0.961
0.969
0.986
0.947
0.961
0.94
0.962
0.983
0.988
0.966

FP Rate
0.005
0.005
0.005
0.001
0.004
0.002
0.007
0.005
0.002
0.002
0.004

Precision
0.949
0.957
0.956
0.986
0.961
0.982
0.938
0.959
0.985
0.982
0.966

Recall
0.957
0.961
0.969
0.986
0.947
0.961
0.94
0.962
0.983
0.988
0.966

F-Measure
0.953
0.959
0.963
0.986
0.954
0.971
0.939
0.96
0.984
0.985
0.966

ROC Area
0.982
0.981
0.984
0.993
0.976
0.985
0.974
0.985
0.991
0.995
0.985

Class
9
8
3
6
5
7
1
2
0
4

=== Confusion Matrix ===


a
b
c
d
e
f
g
h
i
j
688
1
4
0
9
1 10
0
0
6
2 691
0
4
6
4
2
1
9
0
4
0 697
0
8
4
4
1
0
1
2
4
0 710
1
0
0
1
1
1
13 11
8
0 682
0
1
2
2
1
3 10
7
0
1 748
4
5
0
0
6
2 11
1
2
1 732 22
0
2
0
0
2
1
0
2 25 750
0
0
3
3
0
1
1
0
2
0 767
3
4
0
0
3
0
2
0
0
0 771

|
|
|
|
|
|
|
|
|
|

<-a
b
c
d
e
f
g
h
i
j

classified as
= 9
= 8
= 3
= 6
= 5
= 7
= 1
= 2
= 0
= 4

e2gRuleWriter .
htm , .
<html>
<head><title>Pen-Based Recognition of Handwritten Digits</title></head>
<body bgcolor="#990033">
<center>
<applet code="e2gRuleEngine" archive="e2gRuleEngine.jar" width=500
height=400>
<param name="KBURL" value="pendigits.kb">
<param name="APPTITLE" value="Pen-Based Recognition">
<param name="APPSUBTITLE" value="Saa Matijaevi">
<param name="BGCOLOR" value="#990033">
<param name="TITLECOLOR" value="#ffff00">
<param name="PROMPTCOLOR" value="#ffffff">
<param name="STARTBUTTON" value="Prepoznaj broj.">
<param name="WORDWRAP" value="true">

<param name="DEBUG" value="false">


Java-enabled browser required
</applet>
</center>
</body>
</html>

1: .