softening.optimized | R Documentation |
This softening configures all parameters in the tree with optimization method Nelder-Mead to minimize the given ‘miss’ function.
softening.optimized(
tr,
d,
miss.fn,
verbosity = 0,
implementation = c("gsl", "R"),
iteration.count = NULL,
sft.ini = 1
)
tr |
The soft tree |
d |
The data set to be used in intialization for determining data boundaries and in optimization step to evaluate the objective function on the predictions on this data set by the soft tree with updated softening parameters. |
miss.fn |
Function to provide the value of the objective function for optimization. The function obtains as an argument the matrix of class probabilities
as returned by |
verbosity |
The verbosity level configures how many additional information is printed |
implementation |
Indentify implementation of optimizer. |
iteration.count |
Number of optimizer iterations. |
sft.ini |
Parameter of softening used as the initial value for the optimization.
|
The soft tree with the new softening parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.