Likelihood-Free Parameter Estimation using Neural Networks
Overview
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.
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 24 (1 internal)includes a package overview page
- Examples that run
- 0%6 never run
- Exported functions with examples
- 26%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
Forks over time
Commits over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/msainsburydale/neuralestimators on 2026-10-11.
The R CMD check workflow runs on Linux
Dependencies
Installing NeuralEstimators adds 2 packages (1 with compiled code, 362 KB of source tarballs). Heaviest: magrittr 275 KB, JuliaConnectoR 87 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.2.2Latest2026-09-09 · current release · diff ↗ ·
added 7 exports
PointEstimator, PosteriorEstimator, RatioEstimator, cpu_device, gpu_device, infer, reactant_device - 0.2.1
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.2.02025-03-02 · diff ↗ ·
removed 5 exports
initialise_estimator, loadweights, mapestimate, mlestimate, spatialgraphlistadded 1 export
posteriormode - 0.1.3
- 0.1.22024-12-19 · diff ↗
- 0.1.12024-11-03 · diff ↗
- 0.1.02024-09-11
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-09-11
- Total releases
- 7 / 2 yrs
- License
- GPL (>= 2) OSI
- Download size
- 475 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("NeuralEstimators")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.32614/cran.package.neuralestimators, 10.1080/00031305.2023.2249522.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.