Description Usage Arguments Details Value Author(s) References Examples
Compute the solution path for sparse optimal scoring (SOS).
1 |
x |
Input matrix of predictors. |
y |
An n-dimensional vector containing the class labels. The classes have to be labeled as 1 and 2. |
standardize |
A logic object indicating whether x should be standardized before performing SOS. Default is FALSE. |
lambda |
A sequence of lambda's. If lambda is missed, the function will automatically generates a sequence of lambda's to fit model. |
eps |
Convergence threshold for coordinate descent, the same as in glmnet. Default is 1e-7. |
The function obtains the solution path of sparse optimal scoring model through dsda
.
beta |
Output variable coefficients for each lambda. |
lambda |
The sequence of lambda's used in computing the solution path. |
Yuqing Pan, Qing Mai, Xin Zhang
Mai, Q. and Zou, H. (2013), "A note on the connection and equivalence of three sparse linear discriminant analysis methods." Technometrics, 55, 243-246.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.