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)
Returns a named vector of S3 class s2Params
.
elastic-net regularization parameter - \(l_1\) norm.
elastic-net regularization parameter - \(l_2\) norm.
s2net weight hyper-parameter.
s2net covariance hyper-parameter (between 1 and Inf
).
s2net shift hyper-parameter (between 0 and 1).
s2Data
, s2Fista