oblique.split.writer: Internal function to Summarize Information about Oblique...

Description Usage Arguments Details Value Author(s)

Description

Collates, rewrites and summarizes information about oblique splits.

Usage

1
2
3
4
5
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


oblique.tree documentation built on April 15, 2017, 4:38 a.m.