# KGNN **Repository Path**: wangxiaolei21/KGNN ## Basic Information - **Project Name**: KGNN - **Description**: KGNN-ddi - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-13 - **Last Updated**: 2021-11-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Knowledge Graph Neural Network This is our implementation for the paper > Xuan Lin, Zhe Quan, Zhi-Jie Wang, Tengfei Ma and Xiangxiang Zeng. KGNN: Knowledge Graph Neural Network for Drug-Drug Interaction Prediction. IJCAI' 20 accepted. Figure 1 shows the overview of KGNN. It takes the parsed DDI matrix and knowledge graph obtained from preprocessing of dataset as the input. It outputs the interaction value for the drug-drug pair. # Requirement To run the code, you need the following dependencies: * Python == 3.6.6 * Keras == 2.3.0 * Tensorflow == 1.13.1 * scikit-learn == 0.22 # Installation You can create a virtual environment using [conda](https://github.com/conda/conda). ```bash conda create -n kgnn python=3.6.6 source activate kgnn git clone https://github.com/xzenglab/KGNN.git cd KGNN pip install -r requirement.txt ``` # Dataset We just provide the preprocessed KG from KEGG dataset owing to the size limited. Please feel free contact us if you need the KG from DrugBank dataset (V5.1.4). The construction of KG please refer to [Bio2RDF](https://github.com/bio2rdf/bio2rdf-scripts/wiki) tool in detail. # Usage ```bash python run.py ``` # Citation (To appear) For any clarification, comments, or suggestions please create an issue or contact [Jacklin](Jack_lin@hnu.edu.cn).