mymap | R Documentation |
Compute MSE for cross-validation on specified fold
mymap( i_test, X_perm, y_perm, end_index_folds, algorithm, tol, maxit, stepsize, verbose )
i_test |
[numeric] Index of the fold to be selected as test set |
X_perm |
[numeric] Design matrix |
y_perm |
[numeric] Observed response vector |
end_index_folds |
[numeric] |
algorithm |
[character] Type of algorithm to be run |
tol |
[numeric] Tolerance for stopping criteria |
maxit |
[numeric] Maximum number of iterations for stopping criteria |
stepsize |
[numeric] Stepsize - not used for steepest descend method |
verbose |
[logical] |
[numeric] The MSE on the specified test fold
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.