medil.evaluate

Functions

min_perm_squared_l2_dist(predicted_W, true_W)

min_perm_squared_l2_dist_abs(predicted_W, true_W)

recover_ug(biadj_mat)

Recover the undirected graph from the directed graph :param biadj_mat: :type biadj_mat: learned directed graph

sfd(predicted_biadj, true_biadj)

Perform analysis of the distances between true and reconstructed structures :param biadj_mat: :type biadj_mat: input directed graph :param biadj_mat_recon: :type biadj_mat_recon: learned directed graph in the form of adjacency matrix