Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Creating a decision tree model

Updated on July 5, 2022

Create a model that works well on mid-volume, highly non-linear data.

  1. In the Model creation step, from the Create model drop-down list, click Decision tree.
  2. In the Create decision tree workspace, in the Summary section, enter a Model name and a Description. Click Create model.
  3. In the Create model dialog box,, select one of the splitting methods:
    IfThen
    If you want to select the most statistically significant point to split as measured by the Chi Squared statistic, perform the following actions:
    1. Select the CHAID check box.
    2. In the Significance is over field, enter the minimum level of significance for splitting.
    If you want to select the point to split that has the lowest impurity (the lowest level of cases on the wrong side of the split), perform the following actions:
    1. Select the CART check box.
    2. In the Impurity is under field, set the maximum level of impurity for splitting.

      Raising the value can generate larger models.

    If you want to select the point to split that has the highest information value described by the entropy of the distribution or gain, perform the following actions:
    1. Select the ID3 check box.
    2. In the Gain is over field, set the minimum level of gain for splitting.

      Lowering the value can generate larger models.

  4. Select predictors:
    • To select the best predictors in a group, click Use best of each group.
    • To select all the predictors, click Use all predictors.
    • To choose particular predictors, in the Use predictor column, select the check boxes for the predictors you want to use.
  5. Set the Maximum depth of the node tree and the Minimum leaf size.
    Maximum depth
    The maximum distance measured in the number of ancestors from a leaf to the root.
    Minimum leaf size
    The minimum size of a leaf as a percentage of the sample.

    The greater the depth and the smaller the minimum, the more specific the predictions can be. However, they can also become less reliable.

  6. Confirm the settings by clicking Create.
  7. In the Create Decision Tree workspace, click Submit.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us