Package: NeuralEstimators 0.2.2
NeuralEstimators: Likelihood-Free Parameter Estimation using Neural Networks
An 'R' interface to the 'Julia' package 'NeuralEstimators.jl'. The package facilitates the user-friendly development of neural Bayes estimators, which are neural networks that map data to a point summary of the posterior distribution (Sainsbury-Dale et al., 2024, <doi:10.1080/00031305.2023.2249522>). These estimators are likelihood-free and amortised, in the sense that, once the neural networks are trained on simulated data, inference from observed data can be made in a fraction of the time required by conventional approaches. The package also supports amortised Bayesian or frequentist inference using neural networks that approximate the posterior or likelihood-to-evidence ratio (Zammit-Mangion et al., 2025, Sec. 3.2, 5.2, <doi:10.48550/arXiv.2404.12484>). The package accommodates any model for which simulation is feasible by allowing users to define models implicitly through simulated data.
Authors:
NeuralEstimators_0.2.2.tar.gz
NeuralEstimators_0.2.2.zip(r-4.7-any)NeuralEstimators_0.2.2.zip(r-4.6-any)NeuralEstimators_0.2.2.zip(r-4.5-any)
NeuralEstimators_0.2.2.tgz(r-4.6-any)NeuralEstimators_0.2.2.tgz(r-4.5-any)
NeuralEstimators_0.2.2.tar.gz(r-4.7-any)NeuralEstimators_0.2.2.tar.gz(r-4.6-any)
NeuralEstimators_0.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
NeuralEstimators/json (API)
| # Install 'NeuralEstimators' in R: |
| install.packages('NeuralEstimators', repos = c('https://msainsburydale.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/msainsburydale/neuralestimators/issues
Last updated from:26f973f6b8. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 140 | ||
| source / vignettes | OK | 229 | ||
| linux-release | OK | 136 | ||
| macos-release | OK | 186 | ||
| macos-oldrel | OK | 193 | ||
| windows-devel | OK | 80 | ||
| windows-release | OK | 87 | ||
| windows-oldrel | OK | 80 | ||
| wasm-release | OK | 115 |
Exports:assessbiasbootstrapcpu_deviceencodedataestimategpu_deviceinferloadstatelogratioplotdistributionplotestimatesPointEstimatorPosteriorEstimatorRatioEstimatorreactant_deviceriskrmsesampleposteriorsavestatespatialgraphtanhlosstrain
Dependencies:JuliaConnectoRmagrittr
Last update: 2024-12-01
Started: 2024-12-01
Last update: 2024-12-01
Started: 2024-12-01
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| assess a neural estimator | assess |
| computes a Monte Carlo approximation of an estimator's bias | bias |
| bootstrap | bootstrap |
| CPU device | cpu_device |
| encodedata | encodedata |
| estimate | estimate |
| GPU device | gpu_device |
| infer | infer |
| Load a saved state of a neural estimator | loadstate |
| logratio | logratio |
| Plot the empirical sampling distribution of an estimator. | plotdistribution |
| Plot estimates vs. true values. | plotestimates |
| PointEstimator | PointEstimator |
| PosteriorEstimator | PosteriorEstimator |
| RatioEstimator | RatioEstimator |
| Reactant/XLA device | reactant_device |
| computes a Monte Carlo approximation of an estimator's Bayes risk | risk |
| computes a Monte Carlo approximation of an estimator's root-mean-square error (RMSE) | rmse |
| sampleposterior | sampleposterior |
| save the state of a neural estimator | savestate |
| spatialgraph | spatialgraph |
| tanhloss | tanhloss |
| Train a neural estimator | train |