View source: R/pruningScoring.R
RCV | R Documentation |
RCV
RCV(N, Lv, y, alphaIprim, fold, TAiv)
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. |
Set of best pruning and the associated error calculated with test sets.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.