regularizer.l2 | R Documentation |
This function implements the l2 regularizer in the form required by
EmpiricalRiskMinimizationDP.CMS
and
EmpiricalRiskMinimizationDP.KST
.
regularizer.l2(coeff)
coeff |
Vector or matrix of coefficients or weights. |
Regularizer value at the given coefficient vector.
coeff <- c(0.5,-1,2)
regularizer.l2(coeff)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.