gsnn.gsnn.tests.test_optim_utils

Tests for gsnn.optim.utils.

Functions

compute_ECE(pred_dist, y_true[, num_intervals])

Compute the Expected Calibration Error (ECE) using the PICP at different confidence levels.

compute_picp(pred_dist, y_true[, alpha, N])

Compute the Prediction Interval Coverage Probability (PICP) for given predictions and true values.

test_compute_ECE()

test_compute_picp()

gsnn.gsnn.tests.test_optim_utils.test_compute_ECE()[source]
gsnn.gsnn.tests.test_optim_utils.test_compute_picp()[source]