Description Usage Arguments Value
View source: R/search_n_samples.R
Executes a binary search to find the best # of samples.
1 | search_n_samples(rpart.tree, lower, upper, epsilon)
|
rpart.tree |
rpart.tree. A Decision tree generated by rpart package. |
lower |
int. The # of samples to be used in lower_delta calculation. |
upper |
int. The # of samples to be used in upper_delta calculation. |
epsilon |
float. The epsilon to be used in the delta calculation. |
the number of samples needed to ensure learning.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.