Figure 7: Example of CART classification: objects belong to three classes (light grey=1, dark grey=2 and black=3). Nodes h3, h4, h5 are terminal nodes, while h1 and h2 represent splitting decisions. In h1, if the value of splitting variable 1 is > 1, the object is assigned to h2, otherwise to h3. In h2, if the value of splitting variable 2 is > 2, the object is assigned to h4, otherwise to h5.