maxfuse.metrics

Functions for metric calculation

Functions

get_foscttm

Compute the fraction of samples closer than true match.

get_knn_alignment_score

For each 1 <= k <= k_max, obtain knn matching from dist, and compute its matching proximity with the true matching.

get_matching_acc

Compute the cluster level matching accuracy.

get_matching_alignment_score

Compute the alignment between the estimated matching and the true_matching according to the metric in https://openproblems.bio/neurips_docs/about_tasks/task2_modality_matching/.