ontocast.tool.agg.match_derivation¶
Derive pairwise predicted↔gt entity matches from global clusters.
derive_pair_matches(clusters, predicted_graph_id, gt_graph_id, *, similarity_threshold=0.0)
¶
Map global clusters to 1:1 predicted↔gt entity matches for one graph pair.
Source code in ontocast/tool/agg/match_derivation.py
derive_pair_matches_with_embeddings(clusters, predicted_graph_id, gt_graph_id, embeddings, *, similarity_threshold, pair_compatible)
¶
Derive matches using embedding similarity when a cluster has multiple members per side.