diagnostics#
A collection of plotting utilities and metrics for evaluating trained Workflow
s.
Functions
|
Creates the empirical CDFs for each marginal rank distribution and plots it against a uniform ECDF. |
|
Creates the empirical CDFs for each marginal rank distribution and plots it against a uniform ECDF. |
|
Computes an aggregate score for the marginal calibration error over an ensemble of approximate posteriors. |
|
Creates and plots publication-ready histograms of rank statistics for simulation-based calibration (SBC) checks according to [1]. |
|
A generic helper function to plot the losses of a series of training epochs and runs. |
|
Plots the calibration curves, the ECEs and the marginal histograms of predicted posterior model probabilities for a model comparison problem. |
|
Plots a confusion matrix for validating a neural network trained for Bayesian model comparison. |
|
|
|
Generates a bivariate pair plot given posterior draws and optional prior or prior draws. |
|
A more flexible pair plot function for multiple distributions based upon collected samples. |
|
Computes the posterior contraction (PC) from prior to posterior for the given samples. |
|
Creates and plots publication-ready recovery plot with true estimate vs. |
|
Creates and plots publication-ready recovery plot of estimates vs. |
|
Computes the (Normalized) Root Mean Squared Error (RMSE/NRMSE) for the given posterior and prior samples. |
|
Implements a graphical check for global model sensitivity by plotting the posterior z-score over the posterior contraction for each set of posterior samples in |