Description Usage Arguments Value
Function to divide real datasets into test and training sets, possibly add contamination and assess predictions
1 2 | Assess_Real_Data(dataset, nfolds, p, ntrees, ndsize, ntreestune, parvec, cvreps,
cvfolds, tol)
|
dataset |
real dataset to work with |
nfolds |
number of folds to partition into to assess performance |
p |
percentage of training cases for which to add contamination (using N(0, 5*sd(Y))) |
ntrees |
number of trees |
ndsize |
nodesize |
ntreestune |
number of trees to use for tuning alpha |
parvec |
vector of candidate values for tuning parameter alpha |
cvreps |
number of repetitions to perform in cross validation |
cvfolds |
number of folds to perform in cross validation |
tol |
maximal change in interation for LOWESSRF weights in cross validation |
returns a list of 4 items 1. Datasets (TRAIN, TEST, and Outlier Indicator) 2. Matrix of 16 columns giving different predictions. Last column is true Y. 3. Number of iterations 4. Output from TuneMultifoldCV (a list of 8 items itself)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.