metrics#
Numerical diagnostics for evaluating trained Workflows.
Functions
|
Compute classification accuracy for model comparison networks. |
|
Computes the TARP (Test of Accuracy with Random Points) diagnostic. |
|
Computes the distance between observed and reference samples and generates a distribution of null sample distances by bootstrapping for hypothesis testing. |
|
Computes the (multi-class) Brier score of a model comparison network [1]. |
|
Computes an aggregate score for the marginal calibration error over an ensemble of approximate posteriors. |
|
Compute the log gamma discrepancy statistic to test posterior calibration, see [1] for additional information. |
|
C2ST metric [1] between samples from two distributions computed using a neural classifier. |
|
Computes the Pearson correlation between estimates and targets for each random draw from the posterior distribution across datasets, separately for each variable. |
|
Estimates the expected calibration error (ECE) of a model comparison network according to [1]. |
|
Quantifies deviation from uniformity by the likelihood of observing the most extreme point on the empirical CDF of the given rank distribution according to [1] (equation 7). |
|
Computes the distribution of expected gamma values under uniformity of ranks. |
|
Computes the posterior contraction (PC) from prior to posterior for the given samples. |
|
Computes the posterior z-score from prior to posterior for the given samples according to [1]: |
|
Computes the (Normalized) Root Mean Squared Error (RMSE/NRMSE) for the given posterior and prior samples. |
|
Computes the distance between observed and reference data in the summary space and generates a distribution of distance values under the null hypothesis to assess model misspecification. |