lars(lars)
lars()所属R语言包:lars
Fits Least Angle Regression, Lasso and Infinitesimal Forward Stagewise regression models
适用于最小角度回归,套索和无穷的前进Stagewise的回归模型
译者:生物统计家园网 机器人LoveR
描述———-Description———-
These are all variants of Lasso, and provide the entire sequence of coefficients and fits, starting from zero, to the least squares fit.
这些都是拉索的变种,并提供整个序列的系数和配合,从零开始的最小二乘法拟合。
用法———-Usage———-
lars(x, y, type = c(“lasso”, “lar”, “forward.stagewise”, “stepwise”),
trace = FALSE, normalize = TRUE, intercept = TRUE, Gram, eps = .Machine$double.eps, max.steps, use.Gram = TRUE)
参数———-Arguments———-
参数:x