Skip to main content
. 2022 Jun 15;12(6):1474. doi: 10.3390/diagnostics12061474

Table 2.

Results of the encoding technique on the sample dataset.

Age Sex ChestPainType RestingBP Choles. FastingBS RestingECG MaxHR Exer.Angina Oldpeak ST_Slope HeartDisease
Before Encoding
40 M ATA 140 289 0 Normal 172 N 0.0 Up 0
49 F NAP 160 180 0 Normal 156 N 1.0 Flat 1
37 M ATA 130 283 0 ST 98 N 0.0 Up 0
After Encoding
12 1 1 41 147 0 1 98 0 10 2 0
21 0 2 55 40 0 1 82 0 20 1 1
9 1 1 31 141 0 2 25 0 10 2 0