heart: Dataset Heart Disease - Classifications

Description Usage Format Value Examples

Description

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.

Usage

1

Format

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

Value

sample data

Examples

1
2
## Load heart data
data(heart)

daya6489/DriveML documentation built on July 22, 2021, 4:21 a.m.