Growing and pruning the tree

To launch the tree builder, run a flow containing a C&R Tree, QUEST, or CHAID node, making sure the Launch interactive tree builder option is selected on the Objectives tab in the node properties. Then double-click the interactive tree output in the Outputs pane:
Figure 1. Interactive tree output item
Interactive tree output item

The interactive tree builder opens a view of the current tree, starting with the root node. You can switch between a High-level view and a Detailed view.

  1. To grow the tree, right-click the root node and select Grow tree.

    The system builds the tree by recursively splitting each branch until one or more stopping criteria are met. At each split, the best predictor is automatically selected based on the modeling method used.

  2. Alternatively, select Grow tree one level only to add a single level.
  3. To remove a split from the tree, select Remove split.
  4. After working on a tree, you can generate a model from it. Click Generate a model. The model nugget will be added to your flow canvas.

Reading split rules

When viewing split rules, square brackets mean that the adjacent value is included in the range, whereas parentheses indicate that the adjacent value is excluded from the range. For example, the expression (23,37] means from 23 exclusive to 37 inclusive; that is, from just above 23 to 37. In other words:

Age > 23 and Age <= 37