casl_glenet: Compute generalized linear elastic net with coordinate...

Description Usage Arguments Value Author(s) References

View source: R/casl.R

Description

Compute generalized linear elastic net with coordinate descent.

Usage

1
2
casl_glenet(X, y, lambda, alpha = 1, family = stats::binomial(),
  maxit = 10000L, tol = 1e-05)

Arguments

X

A numeric data matrix.

y

Response vector.

lambda

The penalty term.

alpha

Value from 0 and 1; balance between l1/l2 penalty.

family

Instance of an R family object.

maxit

Integer maximum number of iterations.

tol

Numeric tolerance parameter.

Value

Regression vector beta of length ncol(X).

Author(s)

Taylor Arnold, Michael Kane, Bryan Lewis.

References

Taylor Arnold, Michael Kane, and Bryan Lewis. A Computational Approach to Statistical Learning. Chapman & Hall/CRC Texts in Statistical Science, 2019.


BillyTian/bis557 documentation built on Dec. 19, 2020, 7:30 a.m.