Based on Validation tests over BestTivs, a new range of scores is obtained to find new pruned trees.
SERules(N, Lv, y, fold, Tk_score, BestTivs)
Value to get a range where new pruning is found.
Number of rows in data.
Test set.
Column output indexes in data.
Parts in which the original data set is divided to perform Cross-Validation.
Best pruned tree score.
List of best pruned trees for each training set.