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.


martinelligor/shatteringdtR documentation built on March 13, 2021, 3:27 a.m.