A classification tree partitions predictor space recursively and attaches a class probability vector to each terminal region. For a categorical response, a fitted leaf commonly uses its observed class proportions and predicts their largest entry. Binary numerical splits compare one coordinate with a threshold. Growing a tree greedily by reducing classification-tree deviance gives an interpretable rule but does not globally optimize the tree. Cost-complexity tree pruning and cross-validation control complexity and assess prediction error.
Pruning balances a tree's empirical loss against the number of leaves. Increasing favors a nested sequence of smaller subtrees, obtained by removing splits with the smallest effective cost per removed leaf. Choose complexity using cross-validation or a validation set, and assess the selected tree on a separate test set. The loss can be deviance or misclassification loss; the chosen convention must be specified.
Maximizing a node's multinomial likelihood gives class probabilities . Twice the negative maximized log-likelihood relative to perfect classification is the displayed deviance, with . It equals twice the node size times its Shannon entropy. A split is chosen by maximizing , and tree deviance is the sum over terminal nodes. The training misclassification count is instead ; the two criteria are different.
Articles by others on the same topic
There are currently no matching articles.