Tractable Approximate Gaussian Inference (TAGI) is a method used in Bayesian neural networks developped by Goulet et al. (2020). This package is its R implementation. From TAGI, the package enables inference of the weights and baises posterior distributions, treats uncertainty in all layers and uses a single observation at a time for online inference of model parameters. It supports many activation functions and can solve regression problems. Moreover, first and second derivatives calculations are also available using TAGI.
install.packages("devtools")
devtools::install_github("mgoulet847/tagi")
vignette("ToyExample")
vignette("BostonHousing")
vignette("MedicalCost")
vignette("Derivatives")
Note: If the vignettes were not installed, you can run the following code. It will take approximately 25 minutes to run.
devtools::install(build_vignettes = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.