s2Params

0th

Percentile

Hyper-parameter wrapper for s2net

This is a very simple function that collapses the input parameters into a named vector to supply to C++ methods.

Usage
s2Params(lambda1, lambda2 = 0, gamma1 = 0, gamma2 = 0, gamma3 = 0)
Arguments
lambda1

elastic-net regularization parameter - \(l_1\) norm.

lambda2

elastic-net regularization parameter - \(l_2\) norm.

gamma1

s2net weight hyper-parameter.

gamma2

s2net covariance hyper-parameter (between 1 and Inf).

gamma3

s2net shift hyper-parameter (between 0 and 1).

Value

Returns a named vector of S3 class s2Params.

See Also

s2Data, s2Fista

Aliases
  • s2Params
Documentation reproduced from package s2net, version 1.0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.