RCV: RCV

View source: R/pruningScoring.R

RCVR Documentation

RCV

Description

RCV

Usage

RCV(N, Lv, y, alphaIprim, fold, TAiv)

Arguments

N

Number of rows in data.

Lv

Test set.

y

Column output indexes in data.

alphaIprim

Alpha obtained as the square root of the product of two consecutive alpha values in tree_alpha list. It is used to find the best pruning tree.

fold

Parts in which the original data is divided into to perform Cross-Validation.

TAiv

List with each possible pruning for the deep tree generated with the train set and its associated alpha values.

Value

Set of best pruning and the associated error calculated with test sets.


eat documentation built on Jan. 10, 2023, 5:13 p.m.