Loading...
Loading...
Contributors:
Dataset URI:
10.5281/zenodo.23938090This record contains the replication package for the manuscript "Balance or reputation? Switching symmetry reveals what link sign predictors learn in signed graphs" The study uses switching, an exact symmetry of signed graphs that changes edge signs but preserves the sign of every cycle, to separate the information that link sign predictors draw from cycle signs (generalised structural balance) from gauge-variant evidence such as reputation, status and overall positivity. It introduces a switching test for any predictor and switching-equivariant learners (switching-equivariant message passing, SEMP, and antisymmetrised gradient boosting), and evaluates fifteen predictors on Bitcoin Alpha, Bitcoin OTC, Wikipedia requests for adminship, Slashdot, Epinions, planted networks and a signed Caenorhabditis elegans connectome. Files- SWITCHSIGN_AIOPEN_replication_package.zip: Python source code for all experiments, tables and figures; raw JSON outputs of every run (main grid, planted networks, partial switching, rolling-origin analysis, ablations, numerical equivariance checks); aggregated CSV tables; per-edge test scores for Bitcoin Alpha, Bitcoin OTC and C. elegans; README with instructions and a mapping from scripts to figures and tables; requirements.txt.- scores_WikiRfA.zip, scores_Slashdot.zip, scores_Epinions_rep0.zip, scores_Epinions_rep1.zip: per-edge test scores and calibrated log-odds of all predictors for the three largest networks. Unpack into results/main/ to reproduce the stratified analysis without re-running the experiments. Data sourcesThe input networks are not redistributed here. They are publicly available from the Stanford Large Network Dataset Collection (https://snap.stanford.edu/data/: soc-sign-bitcoinalpha, soc-sign-bitcoinotc, wiki-RfA, soc-sign-Slashdot090221, soc-sign-epinions) and from the supplementary data (S1 Data) of Fenyves et al. (2020), PLOS Computational Biology 16(12): e1007974, https://doi.org/10.1371/journal.pcbi.1007974. Software environmentPython 3.13, NumPy, SciPy, scikit-learn, pandas, PyTorch (CPU), PyTorch Geometric, LightGBM, Numba, Matplotlib and openpyxl; versions are listed in the README. All experiments ran on a two-core CPU.
Keyword(s):
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)