coef.SRM_fit {inferCSN} | R Documentation |
Extracts a specific solution in the regularization path
Description
Extracts a specific solution in the regularization path
Usage
## S3 method for class 'SRM_fit'
coef(object, lambda = NULL, gamma = NULL, supportSize = NULL, ...)
## S3 method for class 'SRM_fit_CV'
coef(object, lambda = NULL, gamma = NULL, ...)
Arguments
object |
The output of model.fit or inferCSN.cvfit |
lambda |
The value of lambda at which to extract the solution |
gamma |
The value of gamma at which to extract the solution |
supportSize |
The number of non-zeros each solution extracted will contain |
... |
Other parameters |
Value
Return the specific solution
Return the specific solution
[Package inferCSN version 1.0.5 Index]