Skip to content

This is the code for "Improving diversity and precision in sequential recommendation via RL"

Notifications You must be signed in to change notification settings

yoony02/RL-2022-SRRL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sequential recommendation with RL

A framework for diverse and accurate recommendation for users in sequential recommendation via reinforcement learning techniques

Setups

Python Pytorch

Datasets

The dataset name must be specified in the "--dataset" argument

After downloaded the datasets, you can put them in the folder data/ like the following.

$ tree
.
├── beauty
│   ├── preprocess_beauty.py
│   ├── Beauty.txt
│   └── item2attributes.json
└── lastfm
    ├── preprocess_lastfm.py
    ├── LastFM.txt
    └── item2attributes.json

And you can preprocess each datasets by running,

python preprocess_{dataset_name}.py

Train and Test

python main.py --dataset lastfm --gpu_num 1

Reference

Project presenstation

Presentation PPT (in Korean)
Presentation Video (in Korean) Video thumbnail

About

This is the code for "Improving diversity and precision in sequential recommendation via RL"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages