Description Usage Arguments Value
Returns a closure with formal arguments x
, start
, end
and split_candidates
that finds the
maximizer of the gain_function given data x
, start start
and end end
on split_candidates
using the optimizer optimizer
.
1 2 | get_best_split_function_from_gain_function(gain_function, optimizer,
control)
|
gain_function |
A function with formal arguments |
A function with formal arguments x
, start
, end
, split_candidates
and lambda
that
uses the optimizer specified to search for a maximum of the gain_function on the split_candidates
given a segment
(start
, end], data x
and a tuning parameter lambda
and returns a list with arguments gain
, an
array of length end - start with evaluations of the gain function and best_split
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.