A team of researchers collects and publishes detailed information about factors that affect heart disease. Variables include age, sex, cholesterol levels, maximum heart rate, and more. This example is based on a public data set that gives detailed information about heart disease. The original data are from archive.ics.uci.edu.
In the example of tree creation, the researchers created a classification tree that identifies important predictors to indicate whether a patient has heart disease. The researchers want to make predictions with this tree.
|Rest Blood Pressure||140||140|
|Max Heart Rate||150||165|
|Fasting Blood Sugar||True||True|
|Chest Pain Type||2||1|