Description Usage Arguments Value
Fast calculate OCV given a singular value decomposition (SVD) decomposition of data matrix X
1 | get_ocv(X, y, lambda, U, s)
|
X |
Data matrix |
y |
Column matrix of responses |
lambda |
Numeric hyperparameter controlling the strength of the L2 penalisation (non-negative) |
U |
Matrix U from SVD of X = UDV |
s |
Elements of diagonal matrix D from SVD of X = UDV |
Numeric OCV
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.