s2Params | R Documentation |
s2net
This is a very simple function that collapses the input parameters into a named vector to supply to C++ methods.
s2Params(lambda1, lambda2 = 0, gamma1 = 0, gamma2 = 0, gamma3 = 0)
lambda1 |
elastic-net regularization parameter - |
lambda2 |
elastic-net regularization parameter - |
gamma1 |
s2net weight hyper-parameter. |
gamma2 |
s2net covariance hyper-parameter (between 1 and |
gamma3 |
s2net shift hyper-parameter (between 0 and 1). |
Returns a named vector of S3 class s2Params
.
s2Data
, s2Fista
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.