• Stars
    star
    122
  • Rank 290,362 (Top 6 %)
  • Language
    Jupyter Notebook
  • Created over 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Source code for KDD 2020 paper "Meta-learning on Heterogeneous Information Networks for Cold-start Recommendation"

MetaHIN

Source code for KDD 2020 paper "Meta-learning on Heterogeneous Information Networks for Cold-start Recommendation"

Requirements

  • Python 3.6.9
  • PyTorch 1.4.0
  • My operating system is Ubuntu 16.04.1 with one GPU (GeForce RTX) and CPU (Intel Xeon W-2133)
  • Detailed requirements

Datasets

We have uploaded the original data of DBook, Movielens and Yelp in the data/ folder.

The processed data of DBook and Movielens can be downloaded from Google Drive and BaiduYun (Extraction code: ened).

The processed data of Yelp can be generate by the code data/yelp/YelpProcessor.ipynb.

Description

MetaHIN/
β”œβ”€β”€ code
β”‚   β”œβ”€β”€ main.py:the main funtion of model
β”‚   β”œβ”€β”€ Config.py:configs for model
β”‚   β”œβ”€β”€ Evaluation.py: evaluate the performance of learned embeddings w.r.t clustering and classification
β”‚   β”œβ”€β”€ DataHelper.py: load data
β”‚   β”œβ”€β”€ EmbeddingInitializer.py: map feature and inilitize embedding tables
β”‚   β”œβ”€β”€ HeteML_new.py: update paramerters in meta-learning paradigm 
β”‚   β”œβ”€β”€ MetaLeaner_new.py: the base model 
β”œβ”€β”€ data
β”‚   └── dbook
β”‚       β”œβ”€β”€ original/: the original data without any preprocess
β”‚       β”œβ”€β”€ DBookProcessor.ipynb: preprocess data 
β”‚   └── movielens
β”‚       β”œβ”€β”€ original/: the original data without any preprocess
β”‚       β”œβ”€β”€ MovielensProcessor.ipynb: preprocess data 
β”‚   └── yelp
β”‚       β”œβ”€β”€ original/: the original data without any preprocess
β”‚       β”œβ”€β”€ YelpProcessor.ipynb: preprocess data 
β”œβ”€β”€ README.md

Reference

@inproceedings{lu2020meta,
  title={Meta-learning on Heterogeneous Information Networks for Cold-start Recommendation},
  author={Lu, Yuanfu and Fang, Yuan and Shi, Chuan},
  booktitle={Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery \& Data Mining},
  pages={1563--1573},
  year={2020}
}