Cross Validation of SciencesPo Trees and Forests

Description

Cross Validation of SciencesPo Trees and Forests.

Usage

1
2
3
4
5
6
7
CrossValidation(object, ...)

## S3 method for class 'Tree'
CrossValidation(object, FUN, ...)

## S3 method for class 'Forest'
CrossValidation(object, FUN, ...)

Arguments

object

a fitted Tree or Forest object in the formula.

...

additional arguments.

FUN

either tree or forest

Value

An object of class CV with elements:

call

the function call

Author(s)

Daniel Marcelino, dmarcelino@live.com.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.