All Projects → shenweichen → Dsin

shenweichen / Dsin

Licence: apache-2.0
Code for the IJCAI'19 paper "Deep Session Interest Network for Click-Through Rate Prediction"

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dsin

Context-Aware-Recommender
Hybrid Recommender System
Stars: ✭ 16 (-94.46%)
Mutual labels:  recommender-system
recommender
NReco Recommender is a .NET port of Apache Mahout CF java engine (standalone, non-Hadoop version)
Stars: ✭ 35 (-87.89%)
Mutual labels:  recommender-system
netflix-style-recommender
A simple movie recommendation engine
Stars: ✭ 65 (-77.51%)
Mutual labels:  recommender-system
mlstm4reco
Multiplicative LSTM for Recommendations
Stars: ✭ 21 (-92.73%)
Mutual labels:  recommender-system
pprec
a recommender engine node-js package for general use and easy to integrate.
Stars: ✭ 29 (-89.97%)
Mutual labels:  recommender-system
SIGIR2021 Conure
One Person, One Model, One World: Learning Continual User Representation without Forgetting
Stars: ✭ 23 (-92.04%)
Mutual labels:  recommender-system
HybridBackend
Efficient training of deep recommenders on cloud.
Stars: ✭ 30 (-89.62%)
Mutual labels:  recommender-system
Daisyrec
A developing recommender system in pytorch. Algorithm: KNN, LFM, SLIM, NeuMF, FM, DeepFM, VAE and so on, which aims to fair comparison for recommender system benchmarks
Stars: ✭ 280 (-3.11%)
Mutual labels:  recommender-system
ML2017FALL
Machine Learning (EE 5184) in NTU
Stars: ✭ 66 (-77.16%)
Mutual labels:  recommender-system
Spotify-Song-Recommendation-ML
UC Berkeley team's submission for RecSys Challenge 2018
Stars: ✭ 70 (-75.78%)
Mutual labels:  recommender-system
Jass
SoulSeek client with web interface and recommender system
Stars: ✭ 23 (-92.04%)
Mutual labels:  recommender-system
AMR
This is our official implementation for the paper: Jinhui Tang, Xiaoyu Du, Xiangnan He, Fajie Yuan, Qi Tian, and Tat-Seng Chua, Adversarial Training Towards Robust Multimedia Recommender System.
Stars: ✭ 30 (-89.62%)
Mutual labels:  recommender-system
SAE-NAD
The implementation of "Point-of-Interest Recommendation: Exploiting Self-Attentive Autoencoders with Neighbor-Aware Influence"
Stars: ✭ 48 (-83.39%)
Mutual labels:  recommender-system
recsys spark
Spark SQL 实现 ItemCF,UserCF,Swing,推荐系统,推荐算法,协同过滤
Stars: ✭ 76 (-73.7%)
Mutual labels:  recommender-system
JNSKR
This is our implementation of JNSKR: Jointly Non-Sampling Learning for Knowledge Graph Enhanced Recommendation (SIGIR 2020)
Stars: ✭ 25 (-91.35%)
Mutual labels:  recommender-system
WWW2020-grec
Future Data Helps Training: Modeling Future Contexts for Session-based Recommendation
Stars: ✭ 17 (-94.12%)
Mutual labels:  recommender-system
multi channel bpr
Implementation of Bayesian Personalized Ranking (BPR) for Multiple Feedback Channels
Stars: ✭ 25 (-91.35%)
Mutual labels:  recommender-system
Summary Of Recommender System Papers
阅读过的推荐系统论文的归类总结,持续更新中…
Stars: ✭ 288 (-0.35%)
Mutual labels:  recommender-system
ds3-spring-2018
Материалы третьего набора офлайн-программы Data Scientist.
Stars: ✭ 22 (-92.39%)
Mutual labels:  recommender-system
Recommender-System-Pytorch
基于 Pytorch 实现推荐系统相关的算法
Stars: ✭ 40 (-86.16%)
Mutual labels:  recommender-system

Deep Session Interest Network for Click-Through Rate Prediction

Experiment code on Advertising Dataset of paper Deep Session Interest Network for Click-Through Rate Prediction(https://arxiv.org/abs/1905.06482)

Yufei Feng , Fuyu Lv, Weichen Shen and Menghan Wang and Fei Sun and Yu Zhu and Keping Yang.

In Proceedings of 28th International Joint Conference on Artificial Intelligence (IJCAI 2019)


Operating environment

please use pip install -r requirements.txt to setup the operating environment in python3.6.


Download dataset and preprocess

Download dataset

  1. Download Dataset Ad Display/Click Data on Taobao.com
  2. Extract the files into the raw_data directory

Data preprocessing

  1. run 0_gen_sampled_data.py, sample the data by user
  2. run 1_gen_sessions.py, generate historical session sequence for each user

Training and Evaluation

Train DIN model

  1. run 2_gen_din_input.py,generate input data
  2. run train_din.py

Train DIEN model

  1. run 2_gen_dien_input.py,generate input data(It may take a long time to sample negative samples.)
  2. run train_dien.py

Train DSIN model

  1. run 2_gen_dsin_input.py,generate input data
  2. run train_dsin.py

    The loss of DSIN with bias_encoding=True may be NaN sometimes on Advertising Dataset and it remains a confusing problem since it never occurs in the production environment.We will work on it and also appreciate your help.

License

This project is licensed under the terms of the Apache-2 license. See LICENSE for additional details.

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