chernoff_bound: Calculates the chernoff bound simulations.

Description Usage Arguments Value

View source: R/chernoff_bound.R

Description

Calculates different values of shattering coefficient and delta, varying # of samples to study the chernoff bound of SLT.

Usage

1
chernoff_bound(rpart.tree, n_experimentations, epsilon)

Arguments

rpart.tree

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

n_experimentations

int. The # of experimentations and samples to run.

epsilon

float. The epsilon to be used in the delta calculation.

Value

No return value, the function plots the chernoff bound.


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