Description Usage Arguments Details Value See Also
View source: R/functions_kfolds.R
For a set of iterative k-folds modeling results, it is necessary to determine the convergence point of the model. This function computes this using the RMSE of iterated predictions vs. the actual known values (this can be accomplished because the k-folds procedure creates mock missing data from the set of known estimates, so their true values are known quantities).
1 | computeConvergence(test.fold.data, verbose = TRUE, show.plot = TRUE)
|
test.fold.data |
Test fold predictions (output of |
verbose |
Should messages be printed; default is TRUE (print messages) |
show.plot |
Should plot of RMSE by iteration be displayed; default is TRUE (display plot) |
We defined convergence as when the difference between the RMSE of consecutive iterations was < 0.001. If this convergence criteria is not met, the function simply returns the final iteration (and a message stating that convergence was not reached). Recall that Iteration 0 is simply the output of smart guessing (no modeling involved).
Convergence iteration of k-folds cross validation modeling
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.