Description Usage Arguments Value
To calcuate two-fold cross-validation based on a random splitting
1 | cv.twosets(data1, beta1.hat, data2, beta2.hat)
|
data1 |
The first subsample |
beta1.hat |
The sparse solution obtained from the first subsample |
data2 |
The second subsample |
beta2.hat |
The sparse solution obtained from the second subsample |
cv.value |
The two-fold cross-validation value. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.