An official source code for paper Measure Domain's Gap: A Similar Domain Selection Principle for Multi-Domain Recommendation, accepted by KDD 2025. Any communications or issues are welcomed. Please contact [email protected].
- python
- pytorch
- torchvision
- pandas
- tqdm
- scikit-learn
If you use anaconda, you can run the following command:
conda create -n rec python=3.8
conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
conda install pandas tqdm scikit-learn
python run_movielens.py
python run_amazon.py
python run_douban.py