Skip to Content
Practical Predictive Analytics
book

Practical Predictive Analytics

by Ralph Winters
June 2017
Beginner to intermediate
576 pages
15h 22m
English
Packt Publishing
Content preview from Practical Predictive Analytics

Types of decision tree algorithms

In R, two types of decision tree algorithms are illustrated. We will first look at the traditional algorithm, known as rpart and we will analyze the state.x77 data to determine life expectancy, based upon a number of attributes.

Here is a description of the metadata for the state.x77 data. You can also get more information able this table by entering ?x77.data at the R console.

Population

Population estimate as of July 1, 1975

Income

Per capita income (1974)

Illiteracy

Illiteracy (1970, percent of population)

Life experience

Life expectancy in years (1969-71)

Murder

Murder and non-negligent manslaughter rate per 100,000 population (1976)

HS graduate

Percentage high-school ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Data Superstream: Analytics Engineering

Data Superstream: Analytics Engineering

Alistair Croll, Anna Filippova, Emilie Schario, Lewis Davies, Jacob Frackson, Benn Stancil, Nick Acosta, Elizabeth Caley
R: Predictive Analysis

R: Predictive Analysis

Tony Fischetti, Eric Mayor, Rui Miguel Forte
Python: Advanced Predictive Analytics

Python: Advanced Predictive Analytics

Ashish Kumar, Joseph Babcock

Publisher Resources

ISBN: 9781785886188Supplemental Content