Requirements
Python 3.6
pytorch
networkx
pandas
scipy
scikit-learn
numpy
...
PS: I got a few questions about the torch version. Pyton 3.6.10 torch: 1.9.0 + cpu
Run
main.py
Change parser.add_argument('--embTech', choices=[ 'DGI', 'CN', 'AA',
], default='HDI', help='The embedding learning method') For various convolution matrix option change HDI to RA, HPI,etc.
For any question email me via coskunmustafa@ankara.edu.tr
If you find this code useful, please cite:
@article{cocskun2021node, title={Node similarity-based graph convolution for link prediction in biological networks}, author={Co{\c{s}}kun, Mustafa and Koyut{"u}rk, Mehmet}, journal={Bioinformatics}, volume={37}, number={23}, pages={4501--4508}, year={2021}, publisher={Oxford University Press} }
PS: I got a few questions about the torch version. Pyton 3.6.10 torch: 1.9.0 + cpu