deltakit.decode.utils.pij_edges_max_diff#

deltakit.decode.utils.pij_edges_max_diff(pij1: dict[frozenset[int], float], pij2: dict[frozenset[int], float]) float#

Compare two Pij matrices containing identical edges w.r.t nodes and return the maximum difference between similar edges’ probabilities.

Parameters:
  • pij1 (PijData) – The first Pij for comparison.

  • pij2 (PijData) – The second Pij for comparison

Returns:

Maximum difference between similar edges of the two Pijs.

Return type:

float