Age
int64
28
77
Sex
stringclasses
2 values
ChestPainType
stringclasses
4 values
RestingBP
int64
0
200
Cholesterol
int64
0
603
FastingBS
int64
0
1
RestingECG
stringclasses
3 values
MaxHR
int64
60
202
ExerciseAngina
stringclasses
2 values
Oldpeak
float64
-2.6
6.2
ST_Slope
stringclasses
3 values
HeartDisease
int64
0
1
40
M
ATA
140
289
0
Normal
172
N
0
Up
0
49
F
NAP
160
180
0
Normal
156
N
1
Flat
1
37
M
ATA
130
283
0
ST
98
N
0
Up
0
48
F
ASY
138
214
0
Normal
108
Y
1.5
Flat
1
54
M
NAP
150
195
0
Normal
122
N
0
Up
0
39
M
NAP
120
339
0
Normal
170
N
0
Up
0
45
F
ATA
130
237
0
Normal
170
N
0
Up
0
54
M
ATA
110
208
0
Normal
142
N
0
Up
0
37
M
ASY
140
207
0
Normal
130
Y
1.5
Flat
1
48
F
ATA
120
284
0
Normal
120
N
0
Up
0
37
F
NAP
130
211
0
Normal
142
N
0
Up
0
58
M
ATA
136
164
0
ST
99
Y
2
Flat
1
39
M
ATA
120
204
0
Normal
145
N
0
Up
0
49
M
ASY
140
234
0
Normal
140
Y
1
Flat
1
42
F
NAP
115
211
0
ST
137
N
0
Up
0
54
F
ATA
120
273
0
Normal
150
N
1.5
Flat
0
38
M
ASY
110
196
0
Normal
166
N
0
Flat
1
43
F
ATA
120
201
0
Normal
165
N
0
Up
0
60
M
ASY
100
248
0
Normal
125
N
1
Flat
1
36
M
ATA
120
267
0
Normal
160
N
3
Flat
1
43
F
TA
100
223
0
Normal
142
N
0
Up
0
44
M
ATA
120
184
0
Normal
142
N
1
Flat
0
49
F
ATA
124
201
0
Normal
164
N
0
Up
0
44
M
ATA
150
288
0
Normal
150
Y
3
Flat
1
40
M
NAP
130
215
0
Normal
138
N
0
Up
0
36
M
NAP
130
209
0
Normal
178
N
0
Up
0
53
M
ASY
124
260
0
ST
112
Y
3
Flat
0
52
M
ATA
120
284
0
Normal
118
N
0
Up
0
53
F
ATA
113
468
0
Normal
127
N
0
Up
0
51
M
ATA
125
188
0
Normal
145
N
0
Up
0
53
M
NAP
145
518
0
Normal
130
N
0
Flat
1
56
M
NAP
130
167
0
Normal
114
N
0
Up
0
54
M
ASY
125
224
0
Normal
122
N
2
Flat
1
41
M
ASY
130
172
0
ST
130
N
2
Flat
1
43
F
ATA
150
186
0
Normal
154
N
0
Up
0
32
M
ATA
125
254
0
Normal
155
N
0
Up
0
65
M
ASY
140
306
1
Normal
87
Y
1.5
Flat
1
41
F
ATA
110
250
0
ST
142
N
0
Up
0
48
F
ATA
120
177
1
ST
148
N
0
Up
0
48
F
ASY
150
227
0
Normal
130
Y
1
Flat
0
54
F
ATA
150
230
0
Normal
130
N
0
Up
0
54
F
NAP
130
294
0
ST
100
Y
0
Flat
1
35
M
ATA
150
264
0
Normal
168
N
0
Up
0
52
M
NAP
140
259
0
ST
170
N
0
Up
0
43
M
ASY
120
175
0
Normal
120
Y
1
Flat
1
59
M
NAP
130
318
0
Normal
120
Y
1
Flat
0
37
M
ASY
120
223
0
Normal
168
N
0
Up
0
50
M
ATA
140
216
0
Normal
170
N
0
Up
0
36
M
NAP
112
340
0
Normal
184
N
1
Flat
0
41
M
ASY
110
289
0
Normal
170
N
0
Flat
1
50
M
ASY
130
233
0
Normal
121
Y
2
Flat
1
47
F
ASY
120
205
0
Normal
98
Y
2
Flat
1
45
M
ATA
140
224
1
Normal
122
N
0
Up
0
41
F
ATA
130
245
0
Normal
150
N
0
Up
0
52
F
ASY
130
180
0
Normal
140
Y
1.5
Flat
0
51
F
ATA
160
194
0
Normal
170
N
0
Up
0
31
M
ASY
120
270
0
Normal
153
Y
1.5
Flat
1
58
M
NAP
130
213
0
ST
140
N
0
Flat
1
54
M
ASY
150
365
0
ST
134
N
1
Up
0
52
M
ASY
112
342
0
ST
96
Y
1
Flat
1
49
M
ATA
100
253
0
Normal
174
N
0
Up
0
43
F
NAP
150
254
0
Normal
175
N
0
Up
0
45
M
ASY
140
224
0
Normal
144
N
0
Up
0
46
M
ASY
120
277
0
Normal
125
Y
1
Flat
1
50
F
ATA
110
202
0
Normal
145
N
0
Up
0
37
F
ATA
120
260
0
Normal
130
N
0
Up
0
45
F
ASY
132
297
0
Normal
144
N
0
Up
0
32
M
ATA
110
225
0
Normal
184
N
0
Up
0
52
M
ASY
160
246
0
ST
82
Y
4
Flat
1
44
M
ASY
150
412
0
Normal
170
N
0
Up
0
57
M
ATA
140
265
0
ST
145
Y
1
Flat
1
44
M
ATA
130
215
0
Normal
135
N
0
Up
0
52
M
ASY
120
182
0
Normal
150
N
0
Flat
1
44
F
ASY
120
218
0
ST
115
N
0
Up
0
55
M
ASY
140
268
0
Normal
128
Y
1.5
Flat
1
46
M
NAP
150
163
0
Normal
116
N
0
Up
0
32
M
ASY
118
529
0
Normal
130
N
0
Flat
1
35
F
ASY
140
167
0
Normal
150
N
0
Up
0
52
M
ATA
140
100
0
Normal
138
Y
0
Up
0
49
M
ASY
130
206
0
Normal
170
N
0
Flat
1
55
M
NAP
110
277
0
Normal
160
N
0
Up
0
54
M
ATA
120
238
0
Normal
154
N
0
Up
0
63
M
ASY
150
223
0
Normal
115
N
0
Flat
1
52
M
ATA
160
196
0
Normal
165
N
0
Up
0
56
M
ASY
150
213
1
Normal
125
Y
1
Flat
1
66
M
ASY
140
139
0
Normal
94
Y
1
Flat
1
65
M
ASY
170
263
1
Normal
112
Y
2
Flat
1
53
F
ATA
140
216
0
Normal
142
Y
2
Flat
0
43
M
TA
120
291
0
ST
155
N
0
Flat
1
55
M
ASY
140
229
0
Normal
110
Y
0.5
Flat
0
49
F
ATA
110
208
0
Normal
160
N
0
Up
0
39
M
ASY
130
307
0
Normal
140
N
0
Up
0
52
F
ATA
120
210
0
Normal
148
N
0
Up
0
48
M
ASY
160
329
0
Normal
92
Y
1.5
Flat
1
39
F
NAP
110
182
0
ST
180
N
0
Up
0
58
M
ASY
130
263
0
Normal
140
Y
2
Flat
1
43
M
ATA
142
207
0
Normal
138
N
0
Up
0
39
M
NAP
160
147
1
Normal
160
N
0
Up
0
56
M
ASY
120
85
0
Normal
140
N
0
Up
0
41
M
ATA
125
269
0
Normal
144
N
0
Up
0
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

language:

  • en license: odbl tags:
  • health
  • heart-disease
  • medical
  • machine-learning annotations_creators:
  • expert-generated language_creators:
  • expert-generated pretty_name: Heart Failure Prediction Dataset size_categories:
  • 1K<n<10K source_datasets:
  • original task_categories:
  • structured-data-classification task_ids:
  • binary-classification
  • health-data-analysis paperswithcode_id: heart-failure-prediction configs:
  • default

dataset_info: features: - name: Age dtype: int32 - name: Sex dtype: string - name: ChestPainType dtype: string - name: RestingBP dtype: int32 - name: Cholesterol dtype: int32 - name: FastingBS dtype: int32 - name: RestingECG dtype: string - name: MaxHR dtype: int32 - name: ExerciseAngina dtype: string - name: Oldpeak dtype: float32 - name: ST_Slope dtype: string - name: HeartDisease dtype: int32 config_name: default splits: - name: total num_bytes: UNKNOWN num_examples: 918 download_size: UNKNOWN dataset_size: UNKNOWN

train-eval-index:

  • config: default task: structured-data-classification task_id: binary-classification splits: train_split: train eval_split: validation col_mapping: Age: Age Sex: Sex ChestPainType: ChestPainType RestingBP: RestingBP Cholesterol: Cholesterol FastingBS: FastingBS RestingECG: RestingECG MaxHR: MaxHR ExerciseAngina: ExerciseAngina Oldpeak: Oldpeak ST_Slope: ST_Slope HeartDisease: HeartDisease metrics:
    • type: accuracy name: Accuracy
    • type: f1 name: F1 Score
Downloads last month
41
Edit dataset card