View source: R/best_split_functions.R
Returns a closure with formal arguments x, start, end and split_candidates that finds the
maximizer of the gain_function given data x, start and end on split_candidates
using the optimizer optimizer.
1 | classifier_best_split_function(classifier, optimizer, control)
|
classifier |
A function with formal arguments |
optimizer |
Optimization method to be used to find an (approximate) of the maximum of the gain function.
One of |
control |
Control parameter as returned by hdcd_control |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.