Description Usage Arguments Details Examples
Performs a new binary split at a selected splitpoint.
1 | splitTree(tree.obj, split.point, split.feature, max.surrogates, custom.split)
|
tree.obj |
The tree object, on which the split will be performed with the given split point. |
split.point |
(integer) non-negative numeric; Node ID of terminal node where you want to perform your split. |
split.featurecharacter |
or string; Column name of the attribute which should be used for the split. |
max.surrogates(Optional) |
(Integer) non-negative; the maximum number of surrogates, which will be calculated for the split. (Default is 3) |
custom.split(Optional) |
(Integer) custom point to split (only for numeric attributes) |
Missing values are handled via Surrogate Splits. In most details, it follows „Leo Breiman et. al. (1984). “quite closely.
1 | tree <- splitTree(tree.obj = tree, split.point = 1, split.feature = “income”)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.