cqr_score

probly.conformal_scores.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,).

Examples using probly.conformal_scores.cqr_score

Quantile Regression Conformal Prediction — sklearn

Quantile Regression Conformal Prediction — sklearn

Quantile Regression Conformal Prediction — PyTorch

Quantile Regression Conformal Prediction — PyTorch

Cyclone forecast uncertainty with WeatherNext

Cyclone forecast uncertainty with WeatherNext