print.dcsvm {dcsvm} | R Documentation |
Print a DCSVM Object
Description
Prints a summary of the dcsvm
object, showing the solution paths.
Usage
## S3 method for class 'dcsvm'
print(x, digits = max(3, getOption("digits") - 3), ...)
Arguments
x |
A fitted |
digits |
Specifies the significant digits to use in the output. Default is |
... |
Additional arguments to |
Details
Print a DCSVM Object
Print a summary of the dcsvm
solution paths.
This function prints a two-column matrix with columns Df
and Lambda
. The Df
column shows the number of nonzero coefficients, and the Lambda
column displays the corresponding lambda
value. It is adapted from the print
function in the gcdnet
and glmnet
packages.
Value
A two-column matrix with one column showing the number of nonzero coefficients and the other column showing the lambda
values.
See Also
print.dcsvm
, predict.dcsvm
, coef.dcsvm
, plot.dcsvm
, and cv.dcsvm
.
Examples
data(colon)
fit <- dcsvm(colon$x, colon$y)
print(fit)
[Package dcsvm version 0.0.1 Index]