All Projects → yihong-chen → Dream

yihong-chen / Dream

Licence: mit
rnn based model for recommendations

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dream

Chameleon recsys
Source code of CHAMELEON - A Deep Learning Meta-Architecture for News Recommender Systems
Stars: ✭ 202 (+162.34%)
Mutual labels:  rnn, recommender-system
Rnn recsys
Our implementation of the paper "Embedding-based News Recommendation for Millions of Users"
Stars: ✭ 135 (+75.32%)
Mutual labels:  rnn, recommender-system
ML2017FALL
Machine Learning (EE 5184) in NTU
Stars: ✭ 66 (-14.29%)
Mutual labels:  rnn, recommender-system
Gru4rec tensorflow
TensorFlow implemenation of GRu4Rec model
Stars: ✭ 192 (+149.35%)
Mutual labels:  rnn, recommender-system
Collaborative Rnn
A TensorFlow implementation of the collaborative RNN (Ko et al, 2016).
Stars: ✭ 60 (-22.08%)
Mutual labels:  rnn, recommender-system
Nlp overview
Overview of Modern Deep Learning Techniques Applied to Natural Language Processing
Stars: ✭ 1,104 (+1333.77%)
Mutual labels:  rnn
Datecastle
图像识别与推荐系统两类
Stars: ✭ 69 (-10.39%)
Mutual labels:  recommender-system
Attention Over Attention Tf Qa
论文“Attention-over-Attention Neural Networks for Reading Comprehension”中AoA模型实现
Stars: ✭ 58 (-24.68%)
Mutual labels:  rnn
Char rnn lm zh
language model in Chinese,基于Pytorch官方文档实现
Stars: ✭ 57 (-25.97%)
Mutual labels:  rnn
Gru Svm
[ICMLC 2018] A Neural Network Architecture Combining Gated Recurrent Unit (GRU) and Support Vector Machine (SVM) for Intrusion Detection
Stars: ✭ 76 (-1.3%)
Mutual labels:  rnn
Codegan
[Deprecated] Source Code Generation using Sequence Generative Adversarial Networks
Stars: ✭ 73 (-5.19%)
Mutual labels:  rnn
Gorse
An open source recommender system service written in Go
Stars: ✭ 1,148 (+1390.91%)
Mutual labels:  recommender-system
Collaborative Deep Learning For Recommender Systems
The hybrid model combining stacked denoising autoencoder with matrix factorization is applied, to predict the customer purchase behavior in the future month according to the purchase history and user information in the Santander dataset.
Stars: ✭ 60 (-22.08%)
Mutual labels:  recommender-system
Ehcf
This is our implementation of EHCF: Efficient Heterogeneous Collaborative Filtering (AAAI 2020)
Stars: ✭ 70 (-9.09%)
Mutual labels:  recommender-system
Likelike
An implementation of locality sensitive hashing with Hadoop
Stars: ✭ 58 (-24.68%)
Mutual labels:  recommender-system
Recosystem
Recommender System Using Parallel Matrix Factorization
Stars: ✭ 74 (-3.9%)
Mutual labels:  recommender-system
Rexy
Flexible and extendable recommender system based on an abstract User-Product-Tag schema
Stars: ✭ 57 (-25.97%)
Mutual labels:  recommender-system
Bitcoin Price Prediction Using Lstm
Bitcoin price Prediction ( Time Series ) using LSTM Recurrent neural network
Stars: ✭ 67 (-12.99%)
Mutual labels:  rnn
Patter
speech-to-text in pytorch
Stars: ✭ 71 (-7.79%)
Mutual labels:  rnn
Plasma Python
PPPL deep learning disruption prediction package
Stars: ✭ 65 (-15.58%)
Mutual labels:  rnn

DREAM

This repository contains my implementations of DREAM for next basket prediction. Besides I extendted the DREAM Framework to reorder prediction scenario. And it helped me earn 39/2669 place in Kaggle Instacart Reorder Prediction Competition. For anyone who is interested, please check this page for details about the Instacart competition.

Model

DREAM uses RNN to capture sequential information of users' shopping behavior. It extracts users' dynamic representations and scores user-item pair by calculating inner products between users' dynamic representations and items' embedding.

Refer to the following paper:

Yu, Feng, et al. "A dynamic recurrent model for next basket recommendation." Proceedings of the 39th International ACM SIGIR conference on Research and Development in Information Retrieval. ACM, 2016.

for details about DREAM.

Dataset

It runs on the Instacart dataset and can be used in other e-commerce datasets by modifying the input easily.

Files

dream.py

  • definition of DREAM

train.py

  • implementation of bpr loss function
  • implemeantation of reorder bpr loss function
  • training of DREAM

eval.py

  • calculate <u,p> score using DREAM

data.py

  • input wrapper for DREAM
  • based on the Instacart Dataset

utils.py

  • some useful functions

config.py

  • DREAM configurations

constants.py

  • some constants such as file path

Make Recommendation Using DREAM.ipynb

  • using trained DREAM model to generate predictors for <u,p>

Requirements

  • tensorboard
  • tensorboardX
  • pytorch == 0.3
  • pandas == 0.19.2
  • scikit-learn == 0.18.1

You need GPU to accelerate training.

License

Copyright (c) 2018 Yihong Chen

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].