Package: LangevinFlow 0.1.0
LangevinFlow: Langevin Diffusion Samplers with a C++ Backend
Provides lightweight, dependency-minimal implementations of Langevin diffusion based Markov chain Monte Carlo samplers, including the Unadjusted Langevin Algorithm (ULA) and the Metropolis-Adjusted Langevin Algorithm (MALA). The core sampling loops are written in C++ via 'Rcpp' and 'RcppArmadillo' for performance, while exposing a simple R-level interface where the user supplies the gradient of the negative log-density (and, for MALA, the negative log-density itself). Intended as a building block for Bayesian inference and stochastic optimization rather than a full probabilistic programming framework. Methods follow Roberts and Tweedie (1996) <doi:10.2307/3318418> and Roberts and Rosenthal (1998) <doi:10.1111/1467-9868.00123>.
Authors:
LangevinFlow_0.1.0.tar.gz
LangevinFlow_0.1.0.tar.gz(r-4.7-arm64)LangevinFlow_0.1.0.tar.gz(r-4.7-x86_64)LangevinFlow_0.1.0.tar.gz(r-4.6-arm64)LangevinFlow_0.1.0.tar.gz(r-4.6-x86_64)
LangevinFlow_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
LangevinFlow/json (API)
NEWS
| # Install 'LangevinFlow' in R: |
| install.packages('LangevinFlow', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/behroozmoosavi/langevinflow/issues
Last updated from:5959298ec4. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 142 | ||
| linux-devel-x86_64 | OK | 135 | ||
| source / vignettes | OK | 199 | ||
| linux-release-arm64 | OK | 144 | ||
| linux-release-x86_64 | OK | 115 | ||
| wasm-release | OK | 120 |
Dependencies:RcppRcppArmadillo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Metropolis-Adjusted Langevin Algorithm | mala |
| Plot a Langevin Chain | plot.langevin_chain |
| Summarize a Langevin Chain | summary.langevin_chain |
| Unadjusted Langevin Algorithm | ula |
