This function creates a regularization penalty object
1 2 3 4 5 6 7 8 9 |
what |
which parameters or model elements to regularize |
how |
what kind of regularization function to use. Currently supported: "lasso", "ridge" |
hyperparams |
a named list of the hyperparameter starting values. Used for initial setup. |
hpranges |
a named list of hyperparameter ranges. Used in search if no ranges are specified. |
name |
the name of the regularization object to be created |
compute |
a compute object. If it contains at least one mxComputeDefault, any compute plan supplied by the user will be substituted for that object each time it occurs in the plan. |
other |
Other arguments to the associated regularization functions (see mxRegularizeLASSO and mxRegularizeRidge) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.