Description Usage Arguments Value
This function computes regularization penalty term based on the betas and a difference.
1 |
beta |
A spline parameter vector length num_params. |
regularization_order |
An integer (typically 0, 1, 2), indicating differencing order for L2 regularization of spline parameters. Default is 2 for second derivative penalty. |
A scalar regularization value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.