Skip to content

EmotionK/SGAMER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SGAMER

  1. If you just want to validate the model on the Amazon Musical Instruments dataset, run the following command:
cd model
python recommendation.py

  1. If you want to retrain the model, follow these steps:

Data Preparation

  1. The dataset is available for download at Amazon.,The main download files are "metadata" and "ratings only"
mkdir dataset
cd dataset
mkdir {dataset_name} #Different datasets are stored in different folders

Excute

  1. Data preprocessing
python data_processing.py
  1. node embedding
python embedding_node.py
  1. Path representation learning for item-item
python item_item_representation.py
  1. Path representation learning for user-item
python user_item_representation.py
  1. Sampling meta-path instances
python generate_paths.py
  1. Meta-path Instance Representation Learning
python meta_path_representation.py
  1. run SGAMER
python recommendation.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published