Coder Social home page Coder Social logo

cvae's Introduction

Collective Variational Auto-Encoder (cVAE)

  • pytorch implementation
  • sample data for running

Please kindly cite our article if you use this repository

@inproceedings{DBLP:conf/recsys/ChenR18,
  author    = {Yifan Chen and
               Maarten de Rijke},
  title     = {A Collective Variational Autoencoder for Top-N Recommendation with
               Side Information},
  booktitle = {Proceedings of the 3rd Workshop on Deep Learning for Recommender Systems,
               DLRS@RecSys 2018, Vancouver, BC, Canada, October 6, 2018},
  pages     = {3--9},
  year      = {2018},
  crossref  = {DBLP:conf/recsys/2018dlrs},
  url       = {https://doi.org/10.1145/3270323.3270326},
  doi       = {10.1145/3270323.3270326},
  timestamp = {Wed, 21 Nov 2018 12:44:01 +0100},
  biburl    = {https://dblp.org/rec/bib/conf/recsys/ChenR18},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

Requirement

  1. python >= 3.6
  2. pytorch >= 1.0
  3. pytrec_eval: https://github.com/cvangysel/pytrec_eval

Running

check specifications by

python cvae/cvae.py -h

Sample run (running on GPU)

pre-train with side information

python cvae/cvae.py --dir data --data music -a 10 -b 0.1 -m 50 -N 20 --layer 100 20 --save --gpu

refine by rating

python cvae/cvae.py --dir data --data music -a 1 -b 1 -m 30 -N 20 --layer 100 20 --load 1 --rating --gpu

If you want to test on CPU, simply remove --gpu.

cvae's People

Contributors

yifanclifford 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.