bfgsEnet | R Documentation |
Object for smoothly approximated elastic net optimization with bfgs optimizer
a list with fit results
new
creates a new object. Requires (1) a vector with weights for each parameter and (2) a list with control elements
setHessian
changes the Hessian of the model. Expects a matrix
optimize
optimize the model. Expects a vector with starting values, a SEM of type SEM_Cpp, a lambda and an alpha value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.