gam - Generalized Additive Models
Functions for fitting and working with generalized additive models, as described in chapter 7 of "Statistical Models in S" (Chambers and Hastie (eds), 1991), and "Generalized Additive Models" (Hastie and Tibshirani, 1990).
Last updated
openblas
9.86 score 4 stars 74 dependents 2.6k scripts 32k downloadslars - Least Angle Regression, Lasso and Forward Stagewise
Efficient procedures for fitting an entire lasso sequence with the cost of a single least squares fit. Least angle regression and infinitesimal forward stagewise regression are related to the lasso, as described in the paper below.
Last updated
8.35 score 6 stars 74 dependents 1.0k scripts 16k downloadsmda - Mixture and Flexible Discriminant Analysis
Mixture and flexible discriminant analysis, multivariate adaptive regression splines (MARS), BRUTO, and vector-response smoothing splines. Hastie, Tibshirani and Friedman (2009) "Elements of Statistical Learning (second edition, chap 12)" Springer, New York.
Last updated
7.72 score 2 stars 22 dependents 494 scripts 16k downloadsISLR - Data for an Introduction to Statistical Learning with Applications in R
We provide the collection of data-sets used in the book 'An Introduction to Statistical Learning with Applications in R'.
Last updated
7.28 score 4 stars 1 dependents 11k scripts 23k downloadsISLR2 - Introduction to Statistical Learning, Second Edition
We provide the collection of data-sets used in the book 'An Introduction to Statistical Learning with Applications in R, Second Edition'. These include many data-sets that we used in the first edition (some with minor changes), and some new datasets.
Last updated
5.52 score 2 stars 2.6k scripts 13k downloadsuniLasso - Univariate-Guided Sparse Regression
Fit a univariate-guided sparse regression (lasso), by a two-stage procedure. The first stage fits p separate univariate models to the response. The second stage gives more weight to the more important univariate features, and preserves their signs. Conveniently, it returns an objects that inherits from class 'glmnet', so that all of the methods for 'glmnet' are available. See Chatterjee, Hastie and Tibshirani (2025) <doi:10.1162/99608f92.c79ff6db> for details.
Last updated
5.42 score 25 stars 21 scripts 113 downloadsgamsel - Fit Regularization Path for Generalized Additive Models
Using overlap grouped-lasso penalties, 'gamsel' selects whether a term in a 'gam' is nonzero, linear, or a non-linear spline (up to a specified max df per variable). It fits the entire regularization path on a grid of values for the overall penalty lambda, both for gaussian and binomial families. See <doi:10.48550/arXiv.1506.03850> for more details.
Last updated
openblas
3.48 score 2 stars 30 scripts 214 downloadssvmpath - The SVM Path Algorithm
Computes the entire regularization path for the two-class svm classifier with essentially the same cost as a single SVM fit.
Last updated
2.94 score 2 dependents 48 scripts 309 downloadsProDenICA - Product Density Estimation for ICA using Tilted Gaussian Density Estimates
A direct and flexible method for estimating an ICA model. This approach estimates the densities for each component directly via a tilted Gaussian. The tilt functions are estimated via a GAM Poisson model. Details can be found in "Elements of Statistical Learning (2nd Edition)" in Section 14.7.4.
Last updated
2.23 score 2 stars 21 scripts 227 downloadssparsenet - Fit Sparse Linear Regression Models via Nonconvex Optimization
Efficient procedure for fitting regularization paths between L1 and L0, using the MC+ penalty of Zhang, C.H. (2010)<doi:10.1214/09-AOS729>. Implements the methodology described in Mazumder, Friedman and Hastie (2011) <DOI: 10.1198/jasa.2011.tm09738>. Sparsenet computes the regularization surface over both the family parameter and the tuning parameter by coordinate descent.
Last updated
fortran
1.64 score 2 stars 22 scripts 598 downloads