oblique.split.writer {oblique.tree}R Documentation

Internal function to Summarize Information about Oblique Splits

Description

Collates, rewrites and summarizes information about oblique splits.

Usage

oblique.split.writer(
        coefficients, 
        impurity, 
        child.left.T.F, 
        superclass.composition)

Arguments

coefficients A (named) vector of coefficients of an oblique split. The first component is the intercept followed by each attribute in turn.
impurity Impurity of this split.
child.left.T.F A logical vector denoting allocation of observations to left child node.
superclass.composition A record of the targets of the classification problem that lead to this ideal split.

Details

Variable selection can reduce full oblique splits to using only one attribute which are better represented as axis-parallel splits. This function handles this representational issue.

Value

A list is returned with the following components,

impurity Impurity of this split.
child.left.T.F A logical vector denoting allocation of observations to left child node.
details A list with coefficients, the coefficients of this split and superclass.targets, a record of the targets of the classification problem that lead to this ideal split.
variable A string denoting the type of such a split, "" for oblique splits and a variable name for axis-parallel splits.
cutleft A string expressing the left branch.
cutright A string expressing the right branch.

Author(s)

A. Truong


[Package oblique.tree version 1.0 Index]