incerto.bayesian.brier_score

Contents

incerto.bayesian.brier_score#

incerto.bayesian.brier_score(predictions, labels)[source]#

Compute Brier score for probabilistic predictions.

Parameters:
  • predictions (Tensor) – Predictions (batch_size, num_classes)

  • labels (Tensor) – True labels (batch_size,)

Return type:

float

Returns:

Brier score