ott.tools.conformal.OTCP.get_scores

ott.tools.conformal.OTCP.get_scores#

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

Compute nonconformity scores.

Parameters:
  • x (Array) – Features of shape [n, dim_x].

  • y (Array) – Targets of shape [n, dim_y].

Return type:

Array

Returns:

Nonconformity scores of shape [n,].