KO
|
EN
gitlite โ search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
CSGNN
โ 11
Open GitHub โ
No description available.
Download README (.md)
Explore Similar Repositories
Innowaste-Project-Web-IOS
:
No description available.
notion-rss-feed
:
RSS Feed integration for the Notion using AWS Lambda
stringmatch
:
Implements the Adaptive Fuzzy String Matching model from Kaufman & Klevs
label-set-loss-functions
:
Label-set loss functions for partial supervision in image segmentation
Flutter-BMI-Calculator
:
My First Android app using Flutter Download Link ๐ [Portfolio Section]
// repository documentation
Was this content helpful?
โ 0
(0 ratings)
Select Rating:
โ
โ
โ
โ
โ
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
CSGNN
?
Download (.md)
# CSGNN The code for paper "CSGNN: Contrastive Self-Supervised Graph Neural Network for Molecular Interaction Prediction"  ## 1. Overview The repository is organized as follows: + `data/` contains the datasets used in the paper; + `parms_setting.py` contains hyperparameters adopted by CSGNN; + `data_preprocess.py` is the preprocess of data before training; + `layer.py` contains mix-hop GNN layers and contrastive GNN layers; + `instantiation.py` instantiates the CSGNN; + `train.py` contains the training and testing code on datasets; + `utils.py` contains preprocessing functions of the data (e.g., normalize...); + `main.py` contains entry to CSGNN (e.g., normalize...); ## 2. Dependencies * numpy == 1.18.5 * scipy == 1.5.2 * sklearn == 0.23.2 * torch == 1.5.0 * torch-geometric == 1.6.1 * networkx == 2.4 ## 3. Example Here we provide several example of using CSGNN: To run CSGNN with GCN decoder on DTI network using "uniform" as initial features and output the result to test.txt, execute the following command: ```shell python main.py --aggregator GCN --feature_type uniform --in_file data/DTI.edgelist --out_file test.txt ``` To run CSGNN with GIN decoder on DDI network using "position" as initial features and output the result to test.txt, execute the following command: ```shell python main.py --aggregator GIN --feature_type position --in_file data/DDI.edgelist --out_file test.txt ```