shattering_simulations: Calculates the shattering coefficient simulations.

Description Usage Arguments Value

View source: R/shattering_simulations.R

Description

Calculates different values of shattering coefficient, varying # of samples to study the # of samples needed to ensure learning and plot this values.

Usage

1
shattering_simulations(rpart.tree, n_experimentations=200000)

Arguments

rpart.tree

rpart.tree. A Decision tree generated by rpart package.

n_experimentations

int. The # of experimentations and samples to run.

Value

No return value, the function plot shattering simulations.


shatteringdt documentation built on March 3, 2021, 9:05 a.m.