// prevalence(), positive_likelihood_ratio(), negative_likelihood_ratio(), diagnostics_odds_ratio()
// were missing "when_zero" parameter and therefore it was added in their prototypes
metrics_names = [name for names in list(metrics.values()) for name in names]
batch_size = 2
image_size = 2
After Change
// prevalence(), positive_likelihood_ratio(), negative_likelihood_ratio(), diagnostics_odds_ratio()
// were missing "when_zero" parameter and therefore it was added in their prototypes
metrics_names = list(chain.from_iterable(metrics_dict.values())) // list of all metric names from metrics_dict values
metrics_names.remove("accuracy") // since accuracy is tested separately, it is removed from metrics_names list
batch_size = 2