Skip to main content
. 2022 Jun 18;53(5):5126–5145. doi: 10.1007/s10489-022-03672-4

Table 4.

The transformation of attribute values of the Heart Disease data set

Attribute name Marker name Attribute value partition Mapped values
Age a age< 52 -1
age> 65 1
52≤age ≤ 65 0
Sex b sex= 1 1
sex= 0 -1
cp c cp= 0 -1
cp= 1 1
cp= 2,3 0
trestbps d trestbps≥ 90 1
trestbps< 90 -1
chol e chol ≥ 250 1
chol < 200 -1
200≤chol< 250 0
fbs f fbs ≥ 200 1
fbs< 200 -1
restecg g restecg= 1,2 1
restecg= 0 -1
thalach h thalach> 100,thalach< 60 1
60≤ thalach≤ 100 -1
exang i exang= 1 1
exang= 0 -1
oldpeak j oldpeak≥ 0.5 1
oldpeak< 0.5 -1
slope k slope= 1 1
slope= 2 -1
slope= 3 0
ca l ca= 1,2,3,4 1
ca= 0 -1
thal m thal= 0,1,2 1
thal= 3 -1
target n target= 1 1
target= 0 -1