-
Notifications
You must be signed in to change notification settings - Fork 25
Description
This excalidraw contains the plans for the edge evaluation code: https://excalidraw.com/#json=JHcEVamDksDCAtv62ted5,ue4zzq3ZLvu3cPJvR-MQWA
The first step will be to integrate the edge files into the code so they can be executed exactly as intended (meaning edge gold standards should only run with edge evaluation, and node gold standards should only run with node evaluation).
For now, the plan is that each gold standard dataset will contain either a single edge file or a single node file; both cannot exist in the same dataset simultaneously. Also each edge dataset will include the transformed verison (fully undirected, fully directed, and mixed) of the data using transformation logic for gold standard edge files from interactome.py.
We will also need to update the file generation / evaluation logic in the Snakemake workflow. I’m considering updating this specific line:
dataset_gold_standard_pairs = [f"{dataset}-{gs_values['label']}" for gs_values in _config.config.gold_standards.values() for dataset in gs_values['dataset_labels']]
so that it can explicitly differentiate between edge and node files.
Once edge file integration is complete, the next steps will be:
2) Visualization updates: implement edge-specific visualization functions (based on the existing node code) in separate PRs.
3) General updates: add test cases, update naming conventions, and aggregate results per algorithm.