cqr_score¶
- probly.conformal_scores.cqr.cqr_score = <flextype.singledispatch.Flexdispatch object>¶
Compute the CQR nonconformity score.
- Parameters:
y_pred – Predicted lower and upper quantiles, shape
(n_samples, 2).y_true – True target values, shape
(n_samples,).
- Returns:
One-dimensional array of nonconformity scores, shape
(n_samples,).