Description Usage Arguments Value
View source: R/shattering_simulations.R
Calculates different values of shattering coefficient, varying # of samples to study the # of samples needed to ensure learning and plot this values.
1 | shattering_simulations(rpart.tree, n_experimentations=200000)
|
rpart.tree |
rpart.tree. A Decision tree generated by rpart package. |
n_experimentations |
int. The # of experimentations and samples to run. |
No return value, the function plot shattering simulations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.