heart | R Documentation |
This database contains 76 attributes, but all published experiments refer to using a subset of 14 of them. In particular, the Cleveland database is the only one that has been used by ML researchers to this date. The "goal" field refers to the presence of heart disease in the patient. It is integer valued from 0 (no presence) to 4.
heart
A data frame with 303 rows and 14 variables:
age
integer Age
sex
integer Sex
cp
integer chest pain type (4 values)
trestbps
integer resting blood pressure
chol
integer serum cholestoral in mg/dl
fbs
integer fasting blood sugar > 120 mg/dl
restecg
integer resting electrocardiographic results (values 0,1,2)
thalach
integer maximum heart rate achieved
exang
integer exercise induced angina
oldpeak
double oldpeak = ST depression induced by exercise relative to rest
slope
integer the slope of the peak exercise ST segment
ca
integer number of major vessels (0-3) colored by flourosopy
thal
integer thal: 3 = normal; 6 = fixed defect; 7 = reversable defect
target_var
integer the presence of heart disease in the patient. It is integer valued from 0 (no presence) to 4
sample data
## Load heart data data(heart)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.