Package: bnns 1.0.0.9000

bnns: Bayesian Neural Network with 'Stan'

Offers a flexible formula-based interface for building and training Bayesian Neural Networks powered by 'Stan'. The package supports modeling complex relationships while providing rigorous uncertainty quantification via posterior distributions. With features like user chosen priors, clear predictions, and support for regression, binary, and multi-class classification, it is well-suited for applications in clinical trials, finance, and other fields requiring robust Bayesian inference and decision-making. References: Neal(1996) <doi:10.1007/978-1-4612-0745-0>.

Authors:Swarnendu Chatterjee [aut, cre, cph]

bnns_1.0.0.9000.tar.gz
bnns_1.0.0.9000.zip(r-4.7-any)bnns_1.0.0.9000.zip(r-4.6-any)bnns_1.0.0.9000.zip(r-4.5-any)
bnns_1.0.0.9000.tgz(r-4.6-any)bnns_1.0.0.9000.tgz(r-4.5-any)
bnns_1.0.0.9000.tar.gz(r-4.7-any)bnns_1.0.0.9000.tar.gz(r-4.6-any)
bnns_1.0.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
bnns/json (API)

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

Bug tracker:https://github.com/swarnendu-stat/bnns/issues

Pkgdown/docs site:https://swarnendu-stat.github.io

On CRAN:

Conda:

5.70 score 4 stars 62 scripts 477 downloads 18 exports 49 dependencies

Last updated from:36d5a9493d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK199
source / vignettesOK280
linux-releaseOK184
macos-releaseOK138
macos-oldrelOK240
windows-develOK183
windows-releaseOK141
windows-oldrelOK140
wasm-releaseOK137

Exports:act_fnbnnsbnns_trainchainsiterLload_bnnsmeasure_binmeasure_catmeasure_contnodesopencl_diagnosticsrelusave_bnnssigmoidsoftmax_3dsoftpluswarmup

Dependencies:abindbackportsBHcallrcheckmateclicpp11descdigestdistributionalfarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglifecycleloomagrittrmatrixStatsnumDerivotelpillarpkgbuildpkgconfigposteriorpROCprocessxpsQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanS7scalesStanHeaderstensorAtibbleutf8vctrsviridisLitewithr

bnns
Overview | 1. Installation | 2. Preparing the Data | 3. Fitting a Bayesian Neural Network Model | Regression Example | Binary Classification Example | Multiclass Classification Example | 4. Summarizing the Model | 5. Making Predictions | 6. Evaluating the Model | Regression Evaluation | Binary Classification Evaluation | Multiclass Classification Evaluation | 7. Customized Prior | 8. Notes on Bayesian Neural Networks | References

Last update: 2026-06-07
Started: 2024-12-23

Using bnns with tidymodels
Introduction | Setup | Regression | 1. Specify the Model | 2. Create a Workflow and Fit | 3. Predict | Classification | 3. Predict Classes and Probabilities

Last update: 2026-06-04
Started: 2026-06-04