graph direction bug fix
Fix a bug in the evaluation. Under EdgeClassificationStage.apply_score_cut
, rearrange the edge direction if the edge is pointing inwards, applied to both the edge_index
and track_edges
. Otherwise, if undirected==False
, we get half the efficiency, since edges are randomly directed.
Also add a a function to plot efficiency over multiple score cuts.
Add code comments.
Edited by Minh Tuan Pham