Dataset Viewer
Auto-converted to Parquet
age
int64
29
77
sex
int64
0
1
cp
int64
1
4
trestbps
int64
94
200
chol
int64
126
564
fbs
int64
0
1
restecg
int64
0
2
thalach
int64
71
202
exang
int64
0
1
oldpeak
float64
0
6.2
slope
int64
1
3
ca
float64
0
3
βŒ€
thal
float64
3
7
βŒ€
num
int64
0
4
age_group
stringclasses
5 values
cholesterol_level
stringclasses
3 values
bp_level
stringclasses
3 values
risk_score
float64
7.22
38.9
symptom_severity
float64
0
24.8
log_chol
float64
4.84
6.34
log_trestbps
float64
4.54
5.3
age_squared
int64
841
5.93k
chol_squared
int64
15.9k
318k
age_thalach_ratio
float64
1.04
6.73
risk_factor
float64
0
174
βŒ€
missing_values
int64
0
1
chol_trestbps_ratio
float64
0.83
4.86
log_thalach_chol
float64
0.78
1.07
symptom_zscore
float64
-0.8
4.86
avg_chol_by_age_group
float64
220
260
βŒ€
thalach_chol_diff
int64
-404
47
symptom_severity_diff
float64
-4.83
20
βŒ€
age_chol_effect
int64
5.92k
37.8k
thalach_risk_effect
float64
887
6.23k
age_trestbps_effect
int64
3.67k
12.2k
chol_risk_ratio
float64
11.3
24.8
63
1
1
145
233
1
2
150
0
2.3
3
0
6
0
60s
normal
high
16.129
2.3
5.451038
4.976734
3,969
54,289
2.34375
13.8
0
1.59589
0.919704
-0.275764
260.024691
-83
-2.532099
14,679
2,419.35
9,135
13.602662
67
1
4
160
286
0
2
108
1
1.5
2
3
3
2
60s
high
high
20.762
6
5.655992
5.075174
4,489
81,796
1.588235
18
0
1.776398
0.828936
0.568702
260.024691
-178
1.167901
19,162
2,242.296
10,720
13.142174
67
1
4
120
229
0
2
129
1
2.6
2
2
7
1
60s
normal
low
16.543
10.4
5.433722
4.787492
4,489
52,441
1.897059
72.8
0
1.892562
0.895083
1.572932
260.024691
-100
5.567901
15,343
2,134.047
8,040
13.05364
37
1
3
130
250
0
0
187
0
3.5
3
0
3
0
30s
high
normal
10.55
10.5
5.521461
4.867534
1,369
62,500
4.921053
31.5
0
1.908397
0.947695
1.595755
219.785714
-63
8.178571
9,250
1,972.85
4,810
21.645022
41
0
2
130
204
0
2
172
0
1.4
1
0
3
0
40s
normal
normal
9.664
2.8
5.31812
4.867534
1,681
41,616
4.095238
8.4
0
1.557252
0.968116
-0.161647
235.847222
-32
0.783333
8,364
1,662.208
5,330
19.129782
56
1
2
120
236
0
0
178
0
0.8
1
0
3
0
50s
normal
low
14.416
1.6
5.463832
4.787492
3,136
55,696
3.122807
4.8
0
1.950413
0.94867
-0.435528
247.424
-58
-2.0344
13,216
2,566.048
6,720
15.30877
62
0
4
140
268
0
2
160
0
3.6
3
2
3
3
60s
high
normal
18.016
14.4
5.590987
4.941642
3,844
71,824
2.539683
43.2
0
1.900709
0.908251
2.485868
260.024691
-108
9.567901
16,616
2,882.56
8,680
14.093395
57
0
4
120
354
0
0
163
1
0.6
1
0
3
0
50s
high
low
21.378
2.4
5.869297
4.787492
3,249
125,316
2.810345
7.2
0
2.92562
0.868488
-0.252941
247.424
-191
-1.2344
20,178
3,484.614
6,840
15.819108
63
1
4
130
254
0
2
147
0
1.4
2
1
7
2
60s
high
normal
17.302
5.6
5.537334
4.867534
3,969
64,516
2.296875
39.2
0
1.938931
0.901818
0.477408
260.024691
-107
0.767901
16,002
2,543.394
8,190
13.878265
53
1
4
140
203
1
2
155
1
3.1
3
0
7
1
50s
normal
normal
12.159
12.4
5.313206
4.941642
2,809
41,209
2.87037
86.8
0
1.439716
0.949557
2.0294
247.424
-48
8.7656
10,759
1,884.645
7,420
15.426704
57
1
4
140
192
0
0
148
0
0.4
2
0
6
0
50s
low
normal
12.344
1.6
5.257495
4.941642
3,249
36,864
2.551724
9.6
0
1.361702
0.950834
-0.435528
247.424
-44
-2.0344
10,944
1,826.912
7,980
14.388489
56
0
2
140
294
0
2
153
0
1.3
2
0
3
0
50s
high
normal
17.864
2.6
5.68358
4.941642
3,136
86,436
2.684211
7.8
0
2.085106
0.8857
-0.207294
247.424
-141
-1.0344
16,464
2,733.192
7,840
15.585242
56
1
3
130
256
1
2
142
1
0.6
2
1
6
2
50s
high
normal
15.636
1.8
5.545177
4.867534
3,136
65,536
2.491228
10.8
0
1.954198
0.894355
-0.389881
247.424
-114
-1.8344
14,336
2,220.312
7,280
15.388314
44
1
2
120
263
0
0
173
0
0
1
0
7
0
40s
high
low
12.772
0
5.572154
4.787492
1,936
69,169
3.844444
0
0
2.173554
0.925234
-0.800702
235.847222
-90
-2.016667
11,572
2,209.556
5,280
19.096718
52
1
3
172
199
1
0
162
0
0.5
1
0
7
0
50s
low
high
12.068
1.5
5.293305
5.147494
2,704
39,601
3.056604
10.5
0
1.150289
0.96139
-0.458351
247.424
-37
-2.1344
10,348
1,955.016
8,944
15.228038
57
1
3
150
168
0
0
174
0
1.6
1
0
3
0
50s
low
high
11.076
4.8
5.123964
5.010635
3,249
28,224
3
14.4
0
1.112583
1.006801
0.294821
247.424
6
1.1656
9,576
1,927.224
8,550
13.911891
48
1
2
110
229
0
0
168
0
1
3
0
7
1
40s
normal
low
12.092
2
5.433722
4.70048
2,304
52,441
3.428571
14
0
2.063063
0.943329
-0.344234
235.847222
-61
-0.016667
10,992
2,031.456
5,280
17.491598
54
1
4
140
239
0
0
160
0
1.2
1
0
3
0
50s
normal
normal
14.306
4.8
5.476464
4.941642
2,916
57,121
2.909091
14.4
0
1.695035
0.927155
0.294821
247.424
-79
1.1656
12,906
2,288.96
7,560
15.614792
48
0
3
130
275
0
0
139
0
0.2
1
0
3
0
40s
high
normal
14.5
0.6
5.616771
4.867534
2,304
75,625
2.836735
1.8
0
2.099237
0.879233
-0.663762
235.847222
-136
-1.416667
13,200
2,015.5
6,240
17.741935
49
1
2
130
266
0
0
171
0
0.6
1
0
3
0
40s
high
normal
14.334
1.2
5.583496
4.867534
2,401
70,756
3.42
3.6
0
2.030534
0.921293
-0.526822
235.847222
-95
-0.816667
13,034
2,451.114
6,370
17.347072
64
1
1
110
211
0
2
144
1
1.8
2
0
3
0
60s
normal
low
14.604
1.8
5.351858
4.70048
4,096
44,521
2.215385
5.4
0
1.900901
0.929087
-0.389881
260.024691
-67
-3.032099
13,504
2,102.976
7,040
13.522174
58
0
1
150
283
1
2
162
0
1
1
0
3
0
50s
high
high
17.914
1
5.645447
5.010635
3,364
80,089
2.745763
3
0
1.874172
0.901712
-0.572468
247.424
-121
-2.6344
16,414
2,902.068
8,700
14.962462
58
1
2
120
284
0
2
160
0
1.8
2
0
3
1
50s
high
low
17.672
3.6
5.648974
4.787492
3,364
80,656
2.711864
10.8
0
2.347107
0.898968
0.02094
247.424
-124
-0.0344
16,472
2,827.52
6,960
15.20994
58
1
3
132
224
0
2
173
0
3.2
1
2
7
3
50s
normal
normal
14.312
9.6
5.411646
4.882802
3,364
50,176
2.932203
67.2
0
1.684211
0.952541
1.390345
247.424
-51
5.9656
12,992
2,475.976
7,656
14.629049
60
1
4
130
206
0
2
132
1
2.4
2
2
7
4
60s
normal
normal
13.66
9.6
5.327876
4.867534
3,600
42,436
2.163934
67.2
0
1.572519
0.917046
1.390345
260.024691
-74
4.767901
12,360
1,803.12
7,800
14.051842
50
0
3
120
219
0
0
158
0
1.6
2
0
3
0
50s
normal
low
12.15
4.8
5.389072
4.787492
2,500
47,961
3.098039
14.4
0
1.809917
0.939795
0.294821
247.424
-61
1.1656
10,950
1,919.7
6,000
16.653992
58
0
3
120
340
0
0
172
0
0
1
0
3
0
50s
high
low
20.92
0
5.828946
4.787492
3,364
115,600
2.915254
0
0
2.809917
0.883641
-0.800702
247.424
-168
-3.6344
19,720
3,598.24
6,960
15.510949
66
0
1
150
226
0
0
114
0
2.6
3
0
3
0
60s
normal
high
16.416
2.6
5.420535
5.010635
4,356
51,076
1.701493
7.8
0
1.496689
0.87465
-0.207294
260.024691
-112
-2.232099
14,916
1,871.424
9,900
12.976573
43
1
4
150
247
0
0
171
0
1.5
1
0
3
0
40s
high
high
12.121
6
5.509388
5.010635
1,849
61,009
3.886364
18
0
1.635762
0.933629
0.568702
235.847222
-76
3.983333
10,621
2,072.691
6,450
18.824785
40
1
4
110
167
0
2
114
1
2
2
0
7
3
40s
low
low
7.78
8
5.117994
4.70048
1,600
27,889
2.780488
56
0
1.504505
0.926028
1.02517
235.847222
-53
5.983333
6,680
886.92
4,400
19.020501
69
0
1
140
239
0
0
151
0
1.8
1
2
3
0
60s
normal
normal
17.891
1.8
5.476464
4.941642
4,761
57,121
2.157143
5.4
0
1.695035
0.91666
-0.389881
260.024691
-88
-3.032099
16,491
2,701.541
9,660
12.651527
60
1
4
117
230
1
0
160
1
1.4
1
2
7
2
60s
normal
low
14.97
5.6
5.438079
4.762174
3,600
52,900
2.622951
39.2
0
1.949153
0.933667
0.477408
260.024691
-70
0.767901
13,800
2,395.2
7,020
14.402004
64
1
3
140
335
0
0
158
0
0
1
0
3
1
60s
high
normal
22.84
0
5.814131
4.941642
4,096
112,225
2.430769
0
0
2.375887
0.871378
-0.800702
260.024691
-177
-4.832099
21,440
3,608.72
8,960
14.052013
59
1
4
135
234
0
0
161
0
0.5
2
0
7
0
50s
normal
normal
15.156
2
5.455321
4.905275
3,481
54,756
2.683333
14
0
1.720588
0.931865
-0.344234
247.424
-73
-1.6344
13,806
2,440.116
7,965
14.483783
44
1
3
130
233
0
0
179
1
0.4
1
0
3
0
40s
normal
normal
11.552
1.2
5.451038
4.867534
1,936
54,289
3.977778
3.6
0
1.778626
0.951907
-0.526822
235.847222
-54
-0.816667
10,252
2,067.808
5,720
18.562779
42
1
4
140
226
0
0
178
0
0
1
0
3
0
40s
normal
normal
10.892
0
5.420535
4.941642
1,764
51,076
4.139535
0
0
1.602837
0.956209
-0.800702
235.847222
-48
-2.016667
9,492
1,938.776
5,880
19.004373
43
1
4
120
177
0
2
120
1
2.5
2
0
7
3
40s
low
low
8.811
10
5.17615
4.787492
1,849
31,329
2.727273
70
0
1.46281
0.92551
1.481638
235.847222
-57
7.983333
7,611
1,057.32
5,160
18.040974
57
1
4
150
276
0
2
112
1
0.6
2
1
6
1
50s
high
high
17.232
2.4
5.620401
5.010635
3,249
76,176
1.931034
14.4
0
1.827815
0.840571
-0.252941
247.424
-164
-1.2344
15,732
1,929.984
8,550
15.138219
55
1
4
132
353
0
0
132
1
1.2
2
1
7
3
50s
high
normal
20.735
4.8
5.866468
4.882802
3,025
124,609
2.357143
33.6
0
2.654135
0.833209
0.294821
247.424
-221
1.1656
19,415
2,737.02
7,260
16.241086
61
1
3
150
243
1
0
137
1
1
2
0
3
0
60s
high
high
16.323
3
5.493061
5.010635
3,721
59,049
2.209677
9
0
1.609272
0.896326
-0.116
260.024691
-106
-1.832099
14,823
2,236.251
9,150
14.027593
65
0
4
150
225
0
2
114
0
1
2
3
7
4
60s
normal
high
16.125
4
5.4161
5.010635
4,225
50,625
1.727273
28
0
1.490066
0.875362
0.112234
260.024691
-111
-0.832099
14,625
1,838.25
9,750
13.138686
40
1
1
140
199
0
0
178
1
1.4
1
0
7
0
40s
low
normal
9.36
1.4
5.293305
4.941642
1,600
39,601
4.341463
9.8
0
1.411348
0.979063
-0.481175
235.847222
-21
-0.616667
7,960
1,666.08
5,600
19.208494
71
0
2
160
302
0
0
162
0
0.4
1
2
3
0
70s
high
high
23.042
0.8
5.710427
5.075174
5,041
91,204
2.25
2.4
0
1.875776
0.891493
-0.618115
249.6
-140
-3.16
21,442
3,732.804
11,360
12.561351
59
1
3
150
212
1
0
157
0
1.6
1
0
3
0
50s
normal
high
14.008
4.8
5.356586
5.010635
3,481
44,944
2.616667
14.4
0
1.403974
0.944286
0.294821
247.424
-55
1.1656
12,508
2,199.256
8,850
14.1258
61
0
4
130
330
0
2
169
0
0
1
0
3
1
60s
high
normal
21.43
0
5.799093
4.867534
3,721
108,900
2.725806
0
0
2.519084
0.885159
-0.800702
260.024691
-161
-4.832099
20,130
3,621.67
7,930
14.712439
58
1
3
112
230
0
2
165
0
2.5
2
1
7
4
50s
normal
low
14.46
7.5
5.438079
4.718499
3,364
52,900
2.79661
52.5
0
2.035398
0.939286
0.911053
247.424
-65
3.8656
13,340
2,385.9
6,496
14.877102
51
1
3
110
175
0
0
123
0
0.6
1
0
3
0
50s
low
low
10.025
1.8
5.164786
4.70048
2,601
30,625
2.365385
5.4
0
1.576577
0.932269
-0.389881
247.424
-52
-1.8344
8,925
1,233.075
5,610
15.873016
50
1
4
150
243
0
2
128
0
2.6
2
0
7
4
50s
high
high
13.65
10.4
5.493061
5.010635
2,500
59,049
2.509804
72.8
0
1.609272
0.884057
1.572932
247.424
-115
6.7656
12,150
1,747.2
7,500
16.587031
65
0
3
140
417
1
2
157
0
0.8
1
1
3
0
60s
high
normal
28.505
2.4
6.033086
4.941642
4,225
173,889
2.378788
7.2
0
2.957447
0.838806
-0.252941
260.024691
-260
-2.432099
27,105
4,475.285
9,100
14.133198
53
1
3
130
197
1
2
152
0
1.2
3
0
3
0
50s
low
normal
11.741
3.6
5.283204
4.867534
2,809
38,809
2.814815
10.8
0
1.503817
0.951245
0.02094
247.424
-45
-0.0344
10,441
1,784.632
6,890
15.461895
41
0
2
105
198
0
0
168
0
0
1
1
3
0
40s
low
low
9.168
0
5.288267
4.65396
1,681
39,204
4
0
0
1.867925
0.96913
-0.800702
235.847222
-30
-2.016667
8,118
1,540.224
4,305
19.472856
65
1
4
120
177
0
0
140
0
0.4
1
0
7
0
60s
low
low
12.705
1.6
5.17615
4.787492
4,225
31,329
2.121212
11.2
0
1.46281
0.95503
-0.435528
260.024691
-37
-3.232099
11,505
1,778.7
7,800
12.914995
44
1
4
112
290
0
2
153
0
0
1
1
3
2
40s
high
low
13.88
0
5.669881
4.718499
1,936
84,100
3.4
0
0
2.566372
0.887831
-0.800702
235.847222
-137
-2.016667
12,760
2,123.64
4,928
19.489247
44
1
2
130
219
0
2
188
0
0
1
0
3
0
40s
normal
normal
10.936
0
5.389072
4.867534
1,936
47,961
4.177778
0
0
1.671756
0.971841
-0.800702
235.847222
-31
-2.016667
9,636
2,055.968
5,720
18.347855
60
1
4
130
253
0
0
144
1
1.4
1
1
7
1
60s
high
normal
16.48
5.6
5.533389
4.867534
3,600
64,009
2.360656
39.2
0
1.931298
0.89876
0.477408
260.024691
-109
0.767901
15,180
2,373.12
7,800
14.473684
54
1
4
124
266
0
2
109
1
2.2
2
1
7
1
50s
high
normal
15.604
8.8
5.583496
4.820282
2,916
70,756
1.981818
61.6
0
2.128
0.841287
1.207758
247.424
-157
5.1656
14,364
1,700.836
6,696
16.020236
50
1
3
140
233
0
0
163
0
0.6
2
1
7
1
50s
normal
normal
13.05
1.8
5.451038
4.941642
2,500
54,289
3.196078
12.6
0
1.652482
0.934843
-0.389881
247.424
-70
-1.8344
11,650
2,127.15
7,000
16.58363
41
1
4
110
172
0
2
158
0
0
1
0
7
1
40s
low
low
8.152
0
5.147494
4.70048
1,681
29,584
3.761905
0
0
1.54955
0.983625
-0.800702
235.847222
-14
-2.016667
7,052
1,288.016
4,510
18.793706
54
1
3
125
273
0
2
152
0
0.5
3
1
3
0
50s
high
normal
15.992
1.5
5.609472
4.828314
2,916
74,529
2.763636
4.5
0
2.166667
0.896192
-0.458351
247.424
-121
-2.1344
14,742
2,430.784
6,750
16.066384
51
1
1
125
213
0
2
125
1
1.4
1
1
3
0
50s
normal
normal
12.113
1.4
5.361292
4.828314
2,601
45,369
2.403846
4.2
0
1.690476
0.901287
-0.481175
247.424
-88
-2.2344
10,863
1,514.125
6,375
16.243423
51
0
4
130
305
0
0
142
1
1.2
2
0
7
2
50s
high
normal
16.855
4.8
5.720312
4.867534
2,601
93,025
2.730769
33.6
0
2.328244
0.867087
0.294821
247.424
-163
1.1656
15,555
2,393.41
6,630
17.08205
46
0
3
142
177
0
2
160
1
1.4
3
0
3
0
40s
low
high
9.562
4.2
5.17615
4.955827
2,116
31,329
3.404255
12.6
0
1.237762
0.980628
0.157881
235.847222
-17
2.183333
8,142
1,529.92
6,532
16.75819
58
1
4
128
216
0
2
131
1
2.2
2
3
7
1
50s
normal
normal
13.808
8.8
5.375278
4.85203
3,364
46,656
2.220339
61.6
0
1.674419
0.907601
1.207758
247.424
-85
5.1656
12,528
1,808.848
7,424
14.58671
54
0
3
135
304
1
0
170
0
0
1
0
3
0
50s
high
normal
17.766
0
5.717028
4.905275
2,916
92,416
3.090909
0
0
2.235294
0.898843
-0.800702
247.424
-134
-3.6344
16,416
3,020.22
7,290
16.19951
54
1
4
120
188
0
0
113
0
1.4
2
1
7
2
50s
low
low
11.352
5.6
5.236442
4.787492
2,916
35,344
2.054545
39.2
0
1.553719
0.903553
0.477408
247.424
-75
1.9656
10,152
1,282.776
6,480
15.220207
60
1
4
145
282
0
2
142
1
2.8
2
2
7
2
60s
high
high
18.37
11.2
5.641907
4.976734
3,600
79,524
2.327869
78.4
0
1.931507
0.879088
1.755519
260.024691
-140
6.367901
16,920
2,608.54
8,700
14.558596
60
1
3
140
185
0
2
155
0
3
2
0
3
1
60s
low
normal
12.5
9
5.220356
4.941642
3,600
34,225
2.540984
27
0
1.312057
0.966342
1.253404
260.024691
-30
4.167901
11,100
1,937.5
8,400
13.703704
54
1
3
150
232
0
2
165
0
1.6
1
0
7
0
50s
normal
high
14.028
4.8
5.446737
5.010635
2,916
53,824
3
33.6
0
1.536424
0.937801
0.294821
247.424
-67
1.1656
12,528
2,314.62
8,100
15.437849
59
1
4
170
326
0
2
140
1
3.4
3
0
7
2
50s
high
high
20.934
13.6
5.786897
5.135798
3,481
106,276
2.333333
95.2
0
1.906433
0.854714
2.303281
247.424
-186
9.9656
19,234
2,930.76
10,030
14.86277
46
1
3
150
231
0
0
147
0
3.6
2
0
3
1
40s
normal
high
12.126
10.8
5.442418
5.010635
2,116
53,361
3.12766
32.4
0
1.529801
0.917469
1.664226
235.847222
-84
8.783333
10,626
1,782.522
6,900
17.598659
65
0
3
155
269
0
0
148
0
0.8
1
0
3
0
60s
high
high
19.035
2.4
5.594711
5.043425
4,225
72,361
2.242424
7.2
0
1.724359
0.893814
-0.252941
260.024691
-121
-2.432099
17,485
2,817.18
10,075
13.426504
67
1
4
125
254
1
0
163
0
0.2
2
2
7
3
60s
high
normal
18.268
0.8
5.537334
4.828314
4,489
64,516
2.397059
5.6
0
2.015873
0.920344
-0.618115
260.024691
-91
-4.032099
17,018
2,977.684
8,375
13.182479
62
1
4
120
267
0
0
99
1
1.8
2
2
7
1
60s
high
low
17.754
7.2
5.587249
4.787492
3,844
71,289
1.571429
50.4
0
2.206612
0.823678
0.842583
260.024691
-168
2.367901
16,554
1,757.646
7,440
14.236963
65
1
4
110
248
0
2
158
0
0.6
1
2
6
1
60s
high
low
17.22
2.4
5.513429
4.70048
4,225
61,504
2.393939
14.4
0
2.234234
0.918704
-0.252941
260.024691
-90
-2.432099
16,120
2,720.76
7,150
13.611416
44
1
4
110
197
0
2
177
0
0
1
1
3
1
40s
low
low
9.768
0
5.283204
4.70048
1,936
38,809
3.933333
0
0
1.774775
0.979864
-0.800702
235.847222
-20
-2.016667
8,668
1,728.936
4,840
18.294948
65
0
3
160
360
0
2
151
0
0.8
1
0
3
0
60s
high
high
25
2.4
5.886104
5.075174
4,225
129,600
2.287879
7.2
0
2.236025
0.853113
-0.252941
260.024691
-209
-2.432099
23,400
3,775
10,400
13.846154
60
1
4
125
258
0
2
141
1
2.8
2
1
7
1
60s
high
normal
16.73
11.2
5.55296
4.828314
3,600
66,564
2.311475
78.4
0
2.047619
0.891845
1.755519
260.024691
-117
6.367901
15,480
2,358.93
7,500
14.551607
51
0
3
140
308
0
2
142
0
1.5
1
1
3
0
50s
high
normal
17.108
4.5
5.7301
4.941642
2,601
94,864
2.730769
13.5
0
2.184397
0.865611
0.226351
247.424
-166
0.8656
15,708
2,429.336
7,140
17.009057
48
1
2
130
245
0
2
180
0
0.2
2
0
3
0
40s
high
normal
13.06
0.4
5.501258
4.867534
2,304
60,025
3.673469
1.2
0
1.870229
0.944266
-0.709409
235.847222
-65
-1.616667
11,760
2,350.8
6,240
17.42532
58
1
4
150
270
0
2
111
1
0.8
1
0
7
3
50s
high
high
17.16
3.2
5.598422
5.010635
3,364
72,900
1.881356
22.4
0
1.788079
0.84227
-0.070353
247.424
-159
-0.4344
15,660
1,904.76
8,700
14.867841
45
1
4
104
208
0
2
148
1
3
2
0
3
0
40s
normal
low
10.4
12
5.337538
4.644391
2,025
43,264
3.217391
36
0
1.980952
0.936659
1.938107
235.847222
-60
9.983333
9,360
1,539.2
4,680
18.245614
53
0
4
130
264
0
2
143
0
0.4
2
0
3
0
50s
high
normal
15.292
1.6
5.575949
4.867534
2,809
69,696
2.648148
4.8
0
2.015267
0.890691
-0.435528
247.424
-121
-2.0344
13,992
2,186.756
6,890
16.204272
39
1
3
140
321
0
2
182
0
0
1
0
3
0
30s
high
normal
13.919
0
5.771441
4.941642
1,521
103,041
4.55
0
0
2.276596
0.902146
-0.800702
219.785714
-139
-2.321429
12,519
2,533.258
5,460
21.516187
68
1
3
180
274
1
2
150
1
1.6
2
0
7
3
60s
high
high
20.432
4.8
5.613128
5.192957
4,624
75,076
2.173913
33.6
0
1.513812
0.893268
0.294821
260.024691
-124
-0.032099
18,632
3,064.8
12,240
12.784621
52
1
2
120
325
0
0
172
0
0.2
1
0
3
0
50s
high
low
18.1
0.4
5.783825
4.787492
2,704
105,625
3.245283
1.2
0
2.68595
0.89051
-0.709409
247.424
-153
-3.2344
16,900
3,113.2
6,240
17.015707
44
1
3
140
235
0
2
180
0
0
1
0
3
0
40s
normal
normal
11.74
0
5.459586
4.941642
1,936
55,225
4
0
0
1.666667
0.951438
-0.800702
235.847222
-55
-2.016667
10,340
2,113.2
6,160
18.44584
47
1
3
138
257
0
2
156
0
0
1
0
3
0
40s
high
normal
13.459
0
5.549076
4.927254
2,209
66,049
3.25
0
0
1.848921
0.91055
-0.800702
235.847222
-101
-2.016667
12,079
2,099.604
6,486
17.774397
53
0
3
128
216
0
2
115
0
0
1
0
null
0
50s
normal
normal
12.728
0
5.375278
4.85203
2,809
46,656
2.12963
null
1
1.674419
0.883584
-0.800702
247.424
-101
-3.6344
11,448
1,463.72
6,784
15.734266
53
0
4
138
234
0
2
160
0
0
1
0
3
0
50s
normal
normal
13.782
0
5.455321
4.927254
2,809
54,756
2.962963
0
0
1.683453
0.930731
-0.800702
247.424
-74
-3.6344
12,402
2,205.12
7,314
15.830064
51
0
3
130
256
0
2
149
0
0.5
1
0
3
0
50s
high
normal
14.356
1.5
5.545177
4.867534
2,601
65,536
2.865385
4.5
0
1.954198
0.902967
-0.458351
247.424
-107
-2.1344
13,056
2,139.044
6,630
16.671008
66
1
4
120
302
0
2
151
0
0.4
2
0
3
0
60s
high
low
21.132
1.6
5.710427
4.787492
4,356
91,204
2.253731
4.8
0
2.495868
0.879264
-0.435528
260.024691
-151
-3.232099
19,932
3,190.932
7,920
13.6454
62
0
4
160
164
0
2
145
0
6.2
3
3
7
3
60s
low
high
11.768
24.8
5.099866
5.075174
3,844
26,896
2.301587
173.6
0
1.018634
0.97604
4.859503
260.024691
-19
19.967901
10,168
1,706.36
9,920
12.844612
62
1
3
130
231
0
0
146
0
1.8
2
3
7
0
60s
normal
normal
15.622
5.4
5.442418
4.867534
3,844
53,361
2.31746
37.8
0
1.763359
0.916224
0.431762
260.024691
-85
0.567901
14,322
2,280.812
8,060
13.897245
44
0
3
108
141
0
0
175
0
0.6
2
0
3
0
40s
low
low
7.284
1.8
4.94876
4.682131
1,936
19,881
3.888889
5.4
0
1.293578
1.043314
-0.389881
235.847222
34
-0.216667
6,204
1,274.7
4,752
17.020763
63
0
3
135
252
0
2
172
0
0
1
0
3
0
60s
high
normal
17.226
0
5.529429
4.905275
3,969
63,504
2.6875
0
0
1.852941
0.931308
-0.800702
260.024691
-80
-4.832099
15,876
2,962.872
8,505
13.826402
52
1
4
128
255
0
0
161
1
0
1
1
7
1
50s
high
normal
14.54
0
5.541264
4.85203
2,704
65,025
3.037736
0
0
1.976744
0.917481
-0.800702
247.424
-94
-3.6344
13,260
2,340.94
6,656
16.409266
59
1
4
110
239
0
2
142
1
1.2
2
1
7
2
50s
normal
low
15.201
4.8
5.476464
4.70048
3,481
57,121
2.366667
33.6
0
2.153153
0.905523
0.294821
247.424
-97
1.1656
14,101
2,158.542
6,490
14.752176
60
0
4
150
258
0
2
157
0
2.6
2
2
7
3
60s
high
high
16.98
10.4
5.55296
5.010635
3,600
66,564
2.57377
72.8
0
1.708609
0.911058
1.572932
260.024691
-101
5.567901
15,480
2,665.86
9,000
14.349277
52
1
2
134
201
0
0
158
0
0.8
1
1
3
0
50s
normal
normal
11.792
1.6
5.303305
4.89784
2,704
40,401
2.981132
4.8
0
1.488889
0.954907
-0.435528
247.424
-43
-2.0344
10,452
1,863.136
6,968
15.712946
48
1
4
122
222
0
2
186
0
0
1
0
3
0
40s
normal
normal
11.876
0
5.402677
4.804021
2,304
49,284
3.795918
0
0
1.804878
0.967439
-0.800702
235.847222
-36
-2.016667
10,656
2,208.936
5,856
17.241379
End of preview. Expand in Data Studio

❀️ Heart Disease Dataset (Enhanced with Feature Engineering)

πŸ“Œ Overview

This dataset is an enhanced version of the classic UCI Heart Disease dataset, enriched with extensive feature engineering to support advanced data analysis and machine learning applications.

In addition to the original clinical features, several derived variables have been introduced to provide deeper insights into cardiovascular risk patterns. These engineered features allow for improved predictive modeling and more robust exploratory data analysis.


πŸ“Š Original Features

Column Description
age Age of the patient (years)
sex Gender (1 = male, 0 = female)
cp Chest pain type (1 = typical angina, 2 = atypical angina, 3 = non-anginal pain, 4 = asymptomatic)
trestbps Resting blood pressure (mm Hg)
chol Serum cholesterol (mg/dl)
fbs Fasting blood sugar > 120 mg/dl (1 = true, 0 = false)
restecg Resting electrocardiographic results (0 = normal, 1 = ST-T abnormality, 2 = left ventricular hypertrophy)
thalach Maximum heart rate achieved
exang Exercise-induced angina (1 = yes, 0 = no)
oldpeak ST depression induced by exercise
slope Slope of the peak exercise ST segment (1 = upsloping, 2 = flat, 3 = downsloping)
ca Number of major vessels colored by fluoroscopy
thal Thalassemia (3 = normal, 6 = fixed defect, 7 = reversible defect)
num Diagnosis of heart disease (0 = no disease, 1-4 = disease severity levels)

🧠 Engineered Features

Feature Description
age_group Age category (30s, 40s, 50s, 60s)
cholesterol_level Cholesterol status (low, normal, high)
bp_level Blood pressure status (low, normal, high)
risk_score Composite risk score: (age * chol / 1000 + trestbps / 100)
symptom_severity Severity index based on symptoms: (cp * oldpeak)
log_chol Logarithm of cholesterol level
log_trestbps Logarithm of resting blood pressure
age_squared Square of patient age
chol_squared Square of cholesterol level
age_thalach_ratio Ratio of max heart rate to age (plus 1)
risk_factor Advanced risk factor: (cp * oldpeak * thal)
missing_values Count of missing values in ca and thal
chol_trestbps_ratio Ratio of cholesterol to resting BP
log_thalach_chol Log of (heart rate Γ— cholesterol)
symptom_zscore Z-score of symptom severity
avg_chol_by_age_group Average cholesterol for corresponding age group
thalach_chol_diff Difference between max heart rate and cholesterol
symptom_severity_diff Deviation from average symptom severity by age group
age_chol_effect Product of age and cholesterol
thalach_risk_effect Product of max heart rate and risk score
age_trestbps_effect Product of age and resting BP
chol_risk_ratio Ratio of cholesterol to risk score

πŸ’‘ Use Cases

  • Cardiovascular risk prediction using machine learning
  • Exploratory data analysis for medical research
  • Feature selection and dimensionality reduction tutorials
  • Educational purposes in data science and healthcare analytics
  • Model interpretability studies using engineered variables

πŸ“ File Info

  • Format: CSV or DataFrame (depending on hosting)
  • Instances: ~300 patients
  • License: MIT (Open Source)
  • Source: Based on UCI Heart Disease Dataset + custom engineered features

πŸ“¬ Citation & Contact

If you use this dataset in your research or application, please consider citing the original UCI dataset and giving credit to this enhanced version's author.

Author: nezahatkk
GitHub: https://github.com/nezahatkk


Downloads last month
23