cynricfu/MAGNN
cynricfu/MAGNN has 442 GitHub stars and 73 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-18 23:16 UTC. Last push 2020-11-05.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
Metapath Aggregated Graph Neural Network for Heterogeneous Graph Embedding
머신러닝README.md
OriginalMAGNN
This repository provides a reference implementation of MAGNN as described in the paper:
MAGNN: Metapath Aggregated Graph Neural Network for Heterogeneous Graph Embedding.
Xinyu Fu, Jiani Zhang, Ziqiao Meng, Irwin King.
The Web Conference, 2020.
Available at arXiv:2002.01680.
Dependencies
Recent versions of the following packages for Python 3 are required:
- PyTorch 1.2.0
- DGL 0.3.1
- NetworkX 2.3
- scikit-learn 0.21.3
- NumPy 1.17.2
- SciPy 1.3.1
Dependencies for the preprocessing code are not listed here.
Datasets
The preprocessed datasets are available at:
The GloVe word vectors are obtained from GloVe. Here is the direct link for the version we used in DBLP preprocessing.
Usage
- Create
checkpoint/anddata/preprocesseddirectories - Extract the zip file downloaded from the section above to
data/preprocessed- E.g., extract the content of
IMDB_processed.ziptodata/preprocessed/IMDB_processed
- E.g., extract the content of
- Execute one of the following three commands from the project home directory:
python run_IMDB.pypython run_DBLP.pypython run_LastFM.py
For more information about the available options of the model, you may check by executing python run_IMDB.py --help
Citing
If you find MAGNN useful in your research, please cite the following paper:
@inproceedings{fu2020magnn,
title={MAGNN: Metapath Aggregated Graph Neural Network for Heterogeneous Graph Embedding},
author={Xinyu Fu and Jiani Zhang and Ziqiao Meng and Irwin King},
booktitle = {WWW},
year={2020}
}