soften | R Documentation |
This is a convenience method implemented over softsplits
and the softening functions from this package.
soften(fit, ds, method, control = NULL)
fit |
A classification tree - either an object |
ds |
A data frame used as training data for softening |
method |
A name of softening method. One of: "DR0", "DR1", "DR2", ..., "ESD", "C4.5", "optim_d", "optim_d^2", "optim_d^4", "optim_auc" The 'method = "DRx"' for some number x: The softening parameters are set
according to ‘data ranges’ appropriate to tree nodes.
The parameters are configured such that in each node the distance of the boundary of the softened area from split value is
The 'method = "ESD"' sets boundaries of the softening using error standard deviation.
This is how C4.5 method sets "probabilistic splits"; for that reason value The 'method = "optim_d^q"' for some number q: The softening parameters are set
by optimization process which minimizes If 'method = "optim_auc"': The classification tree |
control |
List of additional configuration paramaters. Possible members in the list are:
|
The ‘soft tree’ structure representing the same tree structure
as given in the parameter fit
,
but with softening parameters set using the given method.
predictSoftsplits
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.