Description Usage Arguments Value
View source: R/gain_functions.R
Closure generating function to calculate gains for splits using a classifier
1 | classifier_gain_function(x, start, end, classifier, control)
|
x |
A matrix with observations in rows |
start |
The start of the investigated interval |
end |
The end of the investigated interval |
classifier |
A function with formal arguments |
control |
Control parameter as returned by hdcd_control |
A closure with parameters x
, start
and end
, that when evaluated
will itself return a closure with arguments split_point
and split_candidates
.
Evaluated this function returns the gain when splitting the segment (start, end]
of x
at split_point
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.