RAPSScore

class probly.conformal_scores.raps.RAPSScore(randomized: bool = True, lambda_reg: float = 0.1, k_reg: int = 0)[source]

Bases: object

Configurable RAPS nonconformity-score callable.

__call__(y_pred: Any, y_true: Any | None = None) → Any[source]

Compute RAPS scores with constructor-provided configuration.

k_reg: int
lambda_reg: float
randomized: bool

Examples using probly.conformal_scores.raps.RAPSScore

Classification Conformal Prediction — sklearn

Classification Conformal Prediction — sklearn

Classification Conformal Prediction — PyTorch

Classification Conformal Prediction — PyTorch