Description Usage Arguments Author(s) See Also
Prepare sgl function arguments using sgldata.
1 2 3 4 |
data |
a sgldata object |
parameterGrouping |
grouping of parameters, a vector of length p. Each element of the vector specifying the group of the parameters in the corresponding column of β. |
groupWeights |
the group weights, a vector of length |
parameterWeights |
a matrix of size q \times p, that is the same dimension as β. |
parameterNames |
dim-names of parameters, if NULL |
alpha |
the α value 0 for group lasso, 1 for lasso, between 0 and 1 gives a sparse group lasso penalty. |
test_data |
optional test data to be prepared (a sgldata object) |
... |
not used |
Martin Vincent
Other sgldata: add_data.sgldata
,
create.sgldata
, prepare.args
,
prepare_data
,
rearrange.sgldata
,
subsample.sgldata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.