RBranch {eat}R Documentation

Branch Pruning

Description

This function computes the error of a branch as the sum of the errors of its child nodes.

Usage

RBranch(t, tree)

Arguments

t

list. A given EAT node.

tree

A list containing the EAT nodes.

Value

A list containing (1) the sum of the errors of the child nodes of the pruned node and (2) the total number of leaf nodes that come from it.


[Package eat version 0.1.4 Index]