Neural Simulation-Based Inference


[Up] [Top]

Documentation for package ‘neuralsbi’ version 0.3.2

Help Pages

as.data.frame.nsbi_samples Summaries and tidy accessors
c2st Classifier two-sample test (C2ST)
density_estimator Conditional density estimators
diagnostics Posterior diagnostics
embedding_mlp Embedding (summary) networks for structured observations
expected_coverage Expected coverage of central credible intervals
log_prob Posterior log-density
map_estimate Maximum a posteriori (MAP) estimate
npe Neural Posterior Estimation (NPE)
npe_sequential Sequential NPE with truncated-prior proposals (TSNPE)
pairplot Visualize posterior samples
plot_coverage Plot nominal vs. empirical credible-interval coverage
plot_posterior_predictive Plot posterior predictive checks
plot_sbc Plot an SBC rank histogram
plot_tarp Plot TARP expected coverage
posterior Posterior objects
posterior_predictive Posterior predictive draws
priors Priors for neural simulation-based inference
prior_custom Build a prior from arbitrary sampling / density functions
prior_normal Independent normal prior
prior_uniform Box-uniform (independent uniform) prior
sample Draw samples (S3 generic)
sample.default Draw samples (S3 generic)
sample.nsbi_posterior Sample from a posterior
sample_posterior Sample from a posterior (non-generic alias)
sample_prior Draw samples from a prior
sbc Simulation-Based Calibration (SBC)
simulate_for_sbi Run a simulator over prior draws
summaries Summaries and tidy accessors
summary.nsbi_npe Summaries and tidy accessors
summary.nsbi_posterior Summaries and tidy accessors
summary.nsbi_samples Summaries and tidy accessors
tarp TARP expected coverage
tasks Benchmark tasks
task_gaussian_linear Benchmark tasks
task_sir Benchmark tasks
task_slcp Benchmark tasks
task_two_moons Benchmark tasks
within_support Test whether parameters lie within the prior support