Package: sparsevb 0.1.0

sparsevb: Spike-and-Slab Variational Bayes for Linear and Logistic Regression

Implements variational Bayesian algorithms to perform scalable variable selection for sparse, high-dimensional linear and logistic regression models. Features include a novel prioritized updating scheme, which uses a preliminary estimator of the variational means during initialization to generate an updating order prioritizing large, more relevant, coefficients. Sparsity is induced via spike-and-slab priors with either Laplace or Gaussian slabs. By default, the heavier-tailed Laplace density is used. Formal derivations of the algorithms and asymptotic consistency results may be found in Kolyan Ray and Botond Szabo (2020) <doi:10.1080/01621459.2020.1847121> and Kolyan Ray, Botond Szabo, and Gabriel Clara (2020) <arxiv:2010.11665>.

Authors:Gabriel Clara [aut, cre], Botond Szabo [aut], Kolyan Ray [aut]

sparsevb_0.1.0.tar.gz
sparsevb_0.1.0.zip(r-4.7)sparsevb_0.1.0.zip(r-4.6)
sparsevb_0.1.0.tgz(r-4.6-x86_64)sparsevb_0.1.0.tgz(r-4.6-arm64)
sparsevb_0.1.0.tar.gz(r-4.7-arm64)sparsevb_0.1.0.tar.gz(r-4.7-x86_64)sparsevb_0.1.0.tar.gz(r-4.6-arm64)sparsevb_0.1.0.tar.gz(r-4.6-x86_64)
sparsevb_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
sparsevb/json (API)

# Install 'sparsevb' in R:
install.packages('sparsevb', repos = c('https://gabriel-clara.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://gitlab.com/gclara/varpack

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openblascppopenmp

2.11 score 13 scripts 255 downloads 1 exports 18 dependencies

Last updated from:458c2ef574. Checks:8 NOTE, 2 OK, 3 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64NOTE144
linux-devel-x86_64NOTE151
source / vignettesOK191
linux-release-arm64NOTE134
linux-release-x86_64NOTE181
macos-release-arm64NOTE228
macos-release-x86_64NOTE456
macos-oldrel-arm64FAIL129
macos-oldrel-x86_64FAIL180
windows-develNOTE162
windows-releaseNOTE138
windows-oldrelFAIL76
wasm-releaseOK121

Exports:svb.fit

Dependencies:adaptMCMCcodacodetoolsforeachglmnetintervalsiteratorslatticeMASSMatrixramcmcRcppRcppArmadilloRcppEigenRcppEnsmallenselectiveInferenceshapesurvival