Skip to main content

Table 2 Description of dataset

From: Early prediction of heart disease with data analysis using supervised learning with stochastic gradient boosting

Column

Description

Min value

Max value

Age

Age of the patient

29

77

Sex

1 = male, 0 = female)

0

1

Chest pain type

1 = typical angina, 2 = atypical angina, 4 = asymptomatic, 3 = non-anginal pain

1

4

Resting blood pressure (mm Hg)

Resting blood pressure

94

200

Serum cholesterol (mg/dl)

Serum cholesterol

126

564

Fasting blood sugar

Fasting blood sugar (> 120 mg/dl or not) of the patient (1 = true, 0 = false)

0

1

Resting electrocardiographic results

Results of resting electrocardiogram (0 = normal, 1 = ST-T wave abnormality, 2 = left ventricular hypertrophy)

0

2

Maximum heart rate achieved

Maximum heart rate achieved (in beats per minute) during exercise

71

202

Exercise-induced angina

Whether exercise-induced angina or not (1 = yes, 0 = no)

0

1

Oldpeak

ST depression induced by exercise relative to rest

0

6.2

Slope

The slope of the peak exercise ST segment (1 = upsloping, 2 = flat, 3 = downsloping)

1

3

Number of major vessels

Number of major vessels (0–3) colored by fluoroscopy

0

3

Thal

Thallium stress test result (3 = normal, 6 = fixed defect, 7 = reversible defect)

3

7

Target

Whether the patient has heart disease or not (0 = no, 1 = yes)

0

1