Package: glmfsa 1.0.1

Adrian Barbu
glmfsa: Feature Selection with Annealing for Sparse Generalized Linear Models
Fits sparse generalized linear models under an exact cardinality constraint using Feature Selection with Annealing (FSA), the method of Barbu, She, Ding and Gramajo (2017) <doi:10.1109/TPAMI.2016.2544315>. Rather than inducing sparsity through an L1 (lasso-type) penalty, FSA alternates a gradient step on the loss with a step that removes the lowest-magnitude coefficients according to an annealing schedule, so the user specifies the number of variables directly and the surviving coefficients carry no shrinkage bias. The working design matrix physically shrinks as iterations proceed, which makes the cost of a fit fall over time and the method well suited to problems with very many features. Gaussian, binomial, Poisson, multinomial, multi-response Gaussian and Cox proportional hazards families are supported, with robust Lorenz and smoothed support vector machine (SVM) losses available for classification with noisy labels. Dense and sparse design matrices are both handled, and the interface mirrors that of the 'glmnet' package.
Authors:
glmfsa_1.0.1.tar.gz
glmfsa_1.0.1.zip(r-4.7-x86_64)glmfsa_1.0.1.zip(r-4.7-arm64)glmfsa_1.0.1.zip(r-4.6-x86_64)glmfsa_1.0.1.zip(r-4.6-arm64)
glmfsa_1.0.1.tar.gz(r-4.7-arm64)glmfsa_1.0.1.tar.gz(r-4.7-x86_64)glmfsa_1.0.1.tar.gz(r-4.6-arm64)glmfsa_1.0.1.tar.gz(r-4.6-x86_64)
glmfsa_1.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
glmfsa/json (API)
| # Install 'glmfsa' in R: |
| install.packages('glmfsa', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/barbua/fsa/issues
- dexter - Dexter: text categorization with 20,000 features and 300 observations
Last updated from:81c50becfa. Checks:10 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 140 | ||
| linux-devel-x86_64 | OK | 136 | ||
| source / vignettes | OK | 241 | ||
| linux-release-arm64 | OK | 116 | ||
| linux-release-x86_64 | OK | 129 | ||
| windows-devel-arm64 | OK | 348 | ||
| windows-devel-x86_64 | OK | 202 | ||
| windows-release-arm64 | OK | 211 | ||
| windows-release-x86_64 | OK | 151 | ||
| wasm-release | OK | 110 |
Exports:cv.fsafetch_gisettefsafsa_lossesplot_scheduleplot_trace
Dependencies:latticeMatrixRcppRcppArmadillo
Last update: 2026-11-03
Started: 2026-11-03
Last update: 2026-11-03
Started: 2026-11-03
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Extract coefficients from a fitted FSA model | coef.fsa |
| Cross-validation for FSA | cv.fsa |
| Methods for cross-validated FSA fits | coef.cv.fsa cv.fsa-methods plot.cv.fsa predict.cv.fsa print.cv.fsa |
| Deviance of a fitted FSA model | deviance.fsa |
| Dexter: text categorization with 20,000 features and 300 observations | dexter |
| Download the Gisette dataset | fetch_gisette |
| Fit a sparse generalized linear model by Feature Selection with Annealing | fsa |
| Per-observation classification losses used by FSA | fsa_losses |
| Plot an annealing schedule | plot_schedule |
| Plot the annealing trajectory | plot_trace |
| Plot the coefficient path of a fitted FSA model | plot.fsa |
| Predict from a fitted FSA model | fitted.fsa predict.fsa |
| Print a fitted FSA model | print.fsa summary.fsa |
