
Penalized residual sum of squares of the lasso, with its soft-threshold step
Source:R/lassj.R
Lassoobj.RdFormula: PRSS(beta, lambda) = sum_i (y_i - b0 - sum_j x_ij b_j)^2 + lambda sum_j |b_j|; S(b, lambda) = sign(b) max(|b| - lambda, 0)
References
Montesinos Lopez, Montesinos Lopez and Crossa (2022), Multivariate
Statistical Machine Learning Methods for Genomic Prediction, Springer,
doi:10.1007/978-3-030-89010-0. Chapter 3, Sect. 3.6.2 pp. 93-94: the lasso penalizes
the RSS by the sum of the absolute regression coefficients, and the coordinate-wise
descent step of Friedman et al. (2007) uses the soft-threshold operator S(b, lambda) =
b - lambda if b > 0 and lambda < |b|, b + lambda if b < 0 and lambda < |b|, and 0 if
lambda >= |b| – which is sign(b) max(|b| - lambda, 0). soft reports that
operator applied to the supplied coefficients. Read from the chapter PDF, not
recalled.