Coder Social home page Coder Social logo

ramtin-ehsani / tddpg-rec Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sunwardtree/tddpg-rec

0.0 0.0 0.0 24.52 MB

The code to reproduce the experimental results for "A Text-based Deep Reinforcement Learning Framework for Interactive Recommendation".

License: GNU General Public License v3.0

Python 19.00% Jupyter Notebook 81.00%

tddpg-rec's Introduction

TDDPG-Rec

The code to reproduce the experimental results for "A Text-based Deep Reinforcement Learning Framework for Interactive Recommendation" (In the 24th European Conference on Artificial Intelligence, ECAI 2020).

Datasets

The data pre-processing codes is also included. You could download Amazon data from here, and run the amazon.py.

Runtime Environment

The code has been tested under Windows 10 and Ubuntu 16.04 with TensorFlow 1.14.0 and Python 3.6.8.

Support independent training with CPU and joint training with CPU and GPU when CUDA is available.

Resource

You can download and add these resource to this project under the folder ./resource.

The pre-trained word vectors is available on GloVe.6B, which was trained on Wikipedia2014 and Gigaword 5.

The Long Stopword List can be obtained here.

Model Training

Take Digital_Music for example. After getting the source data, you should run data process first:

python amazon.py 

To train our DDPG model on Digital_Music:

python DDPG_Rec.py 

or our DQN model on Digital_Music:

python DQN_Rec.py

You can modify the source codes to run other datasets. For MF-class methods, you should change the input by modify 'method' from 'glove' to 'mf'.

Please cite this article as:

@inproceedings{wang2020text,
	title={A Text-based Deep Reinforcement Learning Framework for Interactive Recommendation},
	author={Chaoyang Wang and Zhiqiang Guo and Jianjun Li and Peng Pan and Guohui Li},
	booktitle={Proceedings of the 24th European Conference on Artificial Intelligence},
	pages={537--544},
	year={2020},
	doi = {10.3233/FAIA200136},
	publisher={IOS Press}
}

tddpg-rec's People

Contributors

sunwardtree avatar yr82 avatar ramtin-ehsani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.