Learn R Programming

gcdnet (version 1.0.6)

print.gcdnet: Print a gcdnet object

Description

Print a summary of the gcdnet path at each step along the path.

Usage

# S3 method for gcdnet
print(x, digits = max(3, getOption("digits") - 3), ...)

Value

a two-column matrix, the first columns is the number of nonzero coefficients and the second column is Lambda.

Arguments

x

fitted gcdnet object

digits

significant digits in printout

...

additional print arguments

Author

Yi Yang, Yuwen Gu and Hui Zou

Maintainer: Yi Yang <yi.yang6@mcgill.ca>

Details

The call that produced the gcdnet object is printed, followed by a two-column matrix with columns Df and Lambda. The Df column is the number of nonzero coefficients.

References

Yang, Y. and Zou, H. (2012). "An Efficient Algorithm for Computing The HHSVM and Its Generalizations." Journal of Computational and Graphical Statistics, 22, 396-415.
BugReport: https://github.com/emeryyi/gcdnet

Gu, Y., and Zou, H. (2016). "High-dimensional generalizations of asymmetric least squares regression and their applications." The Annals of Statistics, 44(6), 2661–2694.

Friedman, J., Hastie, T., and Tibshirani, R. (2010). "Regularization paths for generalized linear models via coordinate descent." Journal of Statistical Software, 33, 1.
https://www.jstatsoft.org/v33/i01/

Examples

Run this code

data(FHT)
m1 <- gcdnet(x = FHT$x, y = FHT$y, delta = 1, lambda2 = 0.1)
print(m1)

Run the code above in your browser using DataLab