ridge | R Documentation |
Solve ridge regression problems
ridge( y, X, lambda = 1e-08, family = c("gaussian", "poisson", "hurdle", "zero-inflated"), ... )
y |
The target value - a vector of type numeric. |
X |
The design matrix - this will not be modified in any way. |
lambda |
The ridge penalty parameter - set to NULL to try to estimate. |
family |
Technically allows non-families (such as hurdle/zero-inflated options). Specifies the distribution of your target. |
... |
Additional parameters passed to solvers (currently not implemented). |
No choice of link functions or offsets is provided here - all links are canonical, all offsets can be provided within **X** (though whether this makes sense is left to the user to decide - we recommend **not** using this library if you want to use an offset.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.