Description Usage Arguments Value See Also
Function that computes K-fold cross-validated error of a
spring
fit on a grid of lambda1,lambda2
.
1 2 |
x |
matrix of features, possibly sparsely encoded (experimental). Do NOT include intercept. |
y |
response vector. |
K |
integer indicating the number of folds. Default is 10. |
folds |
list of |
verbose |
logical; indicates if the progression should be
displayed. Default is |
... |
additional parameters to overwrite the defaults of the
spring fitting procedure. See the corresponding documentation
( |
A list with two objects of class "criterion" and "model" for which
plot
methods are available.
criterion
, model
, plot,criterion-method
, plot,model-method
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.