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 | kNN_best_split_function(x, control)
|
x |
A matrix with observations in rows |
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.