Hasil Percobaan Random Minggu Fuzzy Type-2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Data Hasil 10 Percobaan Random

Percobaan Ke-1
Rule dari Weka.
(thal >= 7) => class=present (55.0/10.0)
(number_of_major_vessels >= 1) and (chest >= 4) => class=present (14.0/2.0)
=> class=absent (66.0/3.0)
Diubah menjadi rule
If HighThal THEN Present
If HighMajorVesselNumber AND HighChestPain THEN Present

Benar
104
TP
47

Salah
31
FP
13

TN
57

Sensitivitas (%)
72.31

Spesifitas (%)
81.43%

FN
18
Akurasi (%)
77.04

Hasil dari Weka


Correctly Classified Instances

98

72.5926 %

Incorrectly Classified Instances

37

27.4074 %

Percobaan Ke-2
Rule dari Weka
(thal >= 6) => class=present (55.0/11.0)
=> class=absent (80.0/16.0)
Diubah menjadi rule
If HighThal THEN Present

Benar
98

Salah
37

TP
43

FP
17

Sensitivitas (%)
68.25

TN
55

Spesifitas (%)
76.39%

FN
20
Akurasi (%)
72.59

Hasil dari Weka


Correctly Classified Instances

98

72.5926 %

Incorrectly Classified Instances

37

27.4074 %

Percobaan Ke-3
(thal >= 6) and (exercise_induced_angina >= 1) => class=present (33.0/1.0)
(number_of_major_vessels >= 1) and (slope >= 2) => class=present (17.0/2.0)
=> class=absent (85.0/13.0)
Diubah menjadi rule
IF HighThal AND HighExerciseAngina THEN Present
IF HighMajorVesselNumber AND HighSlope THEN Present

Benar
105
TP
39
Sensitivitas (%)
81.25

Salah
30
FP
21

TN
66

Spesifitas (%)
75.86%

Hasil dari Weka


Correctly Classified Instances
Incorrectly Classified Instances

105

77.7778 %

30

22.2222 %

FN
9
Akurasi (%)
77.78

Percobaan Ke-4
(oldpeak >= 1.8) => class=present (39.0/5.0)
(number_of_major_vessels >= 1) and (oldpeak >= 0.6) => class=present (13.0/1.0)
=> class=absent (83.0/14.0)
Diubah menjadi rule
IF HighOldPeak THEN Present
IF HighMajorVesselNumber AND HighOldPeak THEN Present
IF HighMajorVesselNumber AND MediumOldPeak THEN Present

Benar
93

Salah
42

TP
32

FP
28

Sensitivitas (%)
69.57

TN
61

Spesifitas (%)
68.54%

FN
14
Akurasi (%)
68.89

Hasil dari Weka


Correctly Classified Instances

93

68.8889 %

Incorrectly Classified Instances

42

31.1111 %

Percobaan Ke-5
(number_of_major_vessels >= 1) and (slope >= 2) => class=present (34.0/3.0)
(chest >= 4) and (number_of_major_vessels >= 1) => class=present (12.0/2.0)
(oldpeak >= 2.6) => class=present (7.0/0.0)
(thal >= 7) and (age <= 48) => class=present (7.0/1.0)
(serum_cholestoral >= 273) and (serum_cholestoral <= 284) => class=present
(5.0/1.0)
=> class=absent (70.0/2.0)
Diubah menjadi rule

IF HighMajorVesselNumber AND HighSlope THEN Present


IF HighChestPainType AND HighMajorVesselNumber THEN Present
IF HighOldPeak THEN Present
IF HighThal AND HighAge THEN Present
IF MediumSerumChol THEN Present

Benar
98

Salah
37

TP
47

FP
13

Sensitivitas (%)
66.20

TN
51

Spesifitas (%)
79.69%

FN
24
Akurasi (%)
72.59

Hasil dari Weka


Correctly Classified Instances
Incorrectly Classified Instances

104

77.037 %

31

22.963 %

Percobaan Ke-6
(thal >= 6) and (chest >= 4) => class=present (38.0/2.0)
(maximum_heart_rate_achieved <= 147) and (serum_cholestoral >= 254) =>
class=present (14.0/3.0)
=> class=absent (83.0/13.0)
diubah menjadi
IF HighThal AND HighChestPainType THEN Present
IF LowHeartRate AND HighSerumChol THEN Present

Benar
95
TP

Salah
40
FP

TN

FN

37

23

Sensitivitas (%)
68.52

58

17

Spesifitas (%)
71.60%

Akurasi (%)
70.37

Hasil dari Weka


Correctly Classified Instances

96

71.1111 %

Incorrectly Classified Instances

39

28.8889 %

Percobaan Ke-7
(chest >= 4) and (number_of_major_vessels >= 1) => class=present (33.0/2.0)
(maximum_heart_rate_achieved <= 155) and (oldpeak >= 0.8) => class=present
(29.0/8.0)
(age >= 56) and (number_of_major_vessels >= 1) and (resting_blood_pressure <= 138)
=> class=present (5.0/0.0)
=> class=absent (68.0/3.0)
diubah menjadi rule
IF HighChestPainType AND HighMajorVesselNumber THEN Present
IF LowHeartRate AND HighOldPeak THEN Present
IF HighAge AND HighMajorVesselNumber AND LowRestBP THEN Present

Benar
95

Salah
40

TP
44

FP
16

Sensitivitas (%)
64.71

TN
51

Spesifitas (%)
76.12%

Hasil dari Weka


Correctly Classified Instances

99

73.3333 %

FN
24
Akurasi (%)
70.37

Incorrectly Classified Instances

36

26.6667 %

Percobaan Ke-8
(thal >= 7) => class=present (46.0/7.0)
(chest >= 4) and (maximum_heart_rate_achieved <= 132) => class=present (12.0/1.0)
=> class=absent (77.0/10.0)
Diubah menjadi rule
IF HighThal THEN Present
IF HighChestPainType AND LowHeartRate THEN Present

Benar
100

Salah
35

TP
47

FP
13

Sensitivitas (%)
68.12

TN
53

Spesifitas (%)
80.30%

FN
22
Akurasi (%)
74.07

Hasil dari Weka


Correctly Classified Instances

98

72.5926 %

Incorrectly Classified Instances

37

27.4074 %

Percobaan Ke-9
(oldpeak >= 0.8) and (thal >= 7) and (chest >= 4) => class=present (29.0/0.0)
(number_of_major_vessels >= 1) and (chest >= 4) => class=present (19.0/3.0)
=> class=absent (87.0/15.0)
Diubah menjadi rule
IF HighOldPeak AND HighThal AND HighChestPainType THEN Present
IF HighMajorVesselNumber AND HighChestPainType THEN Present

Benar
108

Salah
27

TP
36

FP
24

Sensitivitas (%)
92.31

TN
72

Spesifitas (%)
75.00%

FN
3
Akurasi (%)
80.00

Hasil dari Weka


Correctly Classified Instances

108

80

27

20

Incorrectly Classified Instances

Percobaan Ke-10
(number_of_major_vessels >= 1) and (slope >= 2) => class=present (38.0/3.0)
(thal >= 6) => class=present (29.0/10.0)
=> class=absent (68.0/6.0)
Diubah menjadi rule
IF HighMajorVesselNumber AND HighSlope THEN Present
IF HighThal THEN Present

Benar
100
TP
47
Sensitivitas (%)
68.12

Salah
35
FP
13

TN
53

Spesifitas (%)
80.30%

Hasil dari Weka


Correctly Classified Instances
Incorrectly Classified Instances

100

74.0741 %

35

25.9259 %

FN
22
Akurasi (%)
74.07

You might also like