Decision Trees

DT Classifier

Graphviz inline rendering

Graphviz rendering to PDF

file.render("example-tree")

Example: Plot DT decision surface - iris dataset

DT Regression

Multiple-output Decision Trees

Example: multi-output regression

Example: face image completion using ExtraTreesRegressor

Complexity

DT Algorithms

Minimal cost-complexity Pruning

Example: Minimal cost-complexity pruning