View source: R/GroupLassoHurdle.R
cgpaths | R Documentation |
Get a solution path for the CG model
cgpaths( y.zif, this.model, Blocks = Block(this.model), nodeId = NA_character_, nlambda = 50, lambda.min.ratio = if (length(y.zif) < ncol(this.model)) 0.005 else 0.05, lambda, penaltyFactor = "full", control = list(tol = 0.005, maxrounds = 300, debug = 1), theta )
y.zif |
(zero-inflated) response |
this.model |
model matrix used for both discrete and continuous linear predictors |
Blocks |
output from |
nodeId |
optional labels for the nodes. will be used to stitch to |
nlambda |
if 'lambda' is not provided, then the number of lambda to interpolate between |
lambda.min.ratio |
if 'lambda' is not provided, then the left end of the solution path as a function of the lambda0, the lambda for the empty model |
lambda |
penalty path desired |
penaltyFactor |
one of 'full', 'diagonal' or 'identity' giving how the penalty should be scaled blockwise |
control |
optimization control parameters |
theta |
(optional) initial guess for parameter |
matrix of parameters, one row per lambda
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.