probly.conformal_prediction.scores.raps.torch

Torch implementation for RAPS scores.

Functions

raps_score_torch(probs[, lambda_reg, k_reg, ...])

Compute RAPS scores for torch tensors.

probly.conformal_prediction.scores.raps.torch.raps_score_torch(probs, lambda_reg=0.1, k_reg=0, epsilon=0.01)[source]

Compute RAPS scores for torch tensors.

Parameters:
Return type:

Tensor