14 Classification

14.1 Fast and frugal trees

For more details and the source code, visit the Github page of the FFTrees package

Libraries

if (!require('FFTrees')) install.packages('FFTrees'); library('FFTrees')

Example from the FFTrees guide

# Plot the best training tree
plot(heart.fft,
     main = "Heart Disease",
     decision.labels = c("Absent", "Present"))

# Describe the algorithm
heart.fft$inwords
## NULL