Description Usage Arguments Value
Leave-one-out cross validation systematically leaves out one row from the data, retrains the classifier and then uses the retrained classifier to make a prediction for the left-out row.
1 |
data |
The |
train.fun |
The training function that takes the data without one of the rows left out. |
eval.fun |
The prediction function that takes the trained model and the left out data point. |
verbose |
If to print progress indication |
A vector of length nrow(data)
containing predictions from eval.fun
when each
row is left out once
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.