ott.tools.conformal.OTCP.calibrate

Contents

ott.tools.conformal.OTCP.calibrate#

OTCP.calibrate(x, y)[source]#

Compute calibration scores.

Parameters:
  • x (Array) – Calibration features of shape [n_calib, dim_x].

  • y (Array) – Calibration targets of shape [n_calib, dim_y].

Return type:

OTCP

Returns:

Self and updates calibration_scores.