O'Reilly logo

Practical Machine Learning Cookbook by Atul Tripathi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Decision tree learning - Advance Health Directive for patients with chest pain

An Advance Health Directive document states the directions regarding the future health care for an individual on various medical conditions. It guides an individual to make the right decision in case of emergency or as required. The document helps an individual to understand the nature and consequences of their health care decisions, understand the nature and effect of the directive, freely and voluntarily make these decisions, and communicate the decisions in some way.

Getting ready

In order to perform decision tree classification, we will be using a dataset collected from the heart patients dataset.

Step 1 - collecting and describing the data

The dataset titled Heart.csv ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required