oblique.split.writer {oblique.tree} | R Documentation |
Collates, rewrites and summarizes information about oblique splits.
oblique.split.writer( coefficients, impurity, child.left.T.F, superclass.composition)
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. |
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.
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. |
A. Truong