All Projects → AaronHeee → Neural Attentive Item Similarity Model

AaronHeee / Neural Attentive Item Similarity Model

TensorFlow Implementation of Neural Attentive Item Similarity Model for Recommendation on TKDE 2018

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Neural Attentive Item Similarity Model

Recnn
Reinforced Recommendation toolkit built around pytorch 1.7
Stars: ✭ 362 (+206.78%)
Mutual labels:  recommendation-system
Drugs Recommendation Using Reviews
Analyzing the Drugs Descriptions, conditions, reviews and then recommending it using Deep Learning Models, for each Health Condition of a Patient.
Stars: ✭ 35 (-70.34%)
Mutual labels:  recommendation-system
Neu Review Rec
A Toolkit for Neural Review-based Recommendation models with Pytorch.
Stars: ✭ 92 (-22.03%)
Mutual labels:  recommendation-system
Deep Recommender System
深度学习在推荐系统中的应用及论文小结。
Stars: ✭ 657 (+456.78%)
Mutual labels:  recommendation-system
Recommendation System Practice Notes
《推荐系统实践》代码与读书笔记,在线阅读地址:https://relph1119.github.io/recommendation-system-practice-notes
Stars: ✭ 22 (-81.36%)
Mutual labels:  recommendation-system
Kdd Multimodalities Recall
This is our solution for KDD Cup 2020. We implemented a very neat and simple neural ranking model based on siamese BERT which ranked first among the solo teams and ranked 12th among all teams on the final leaderboard.
Stars: ✭ 61 (-48.31%)
Mutual labels:  recommendation-system
Caserecommender
Case Recommender: A Flexible and Extensible Python Framework for Recommender Systems
Stars: ✭ 318 (+169.49%)
Mutual labels:  recommendation-system
Recommenders
Best Practices on Recommendation Systems
Stars: ✭ 11,818 (+9915.25%)
Mutual labels:  recommendation-system
Deeprec
An Open-source Toolkit for Deep Learning based Recommendation with Tensorflow.
Stars: ✭ 954 (+708.47%)
Mutual labels:  recommendation-system
Toptal Recommengine
Prototype recommendation engine built to accompany an article on Toptal Blog
Stars: ✭ 90 (-23.73%)
Mutual labels:  recommendation-system
Recbole
A unified, comprehensive and efficient recommendation library
Stars: ✭ 780 (+561.02%)
Mutual labels:  recommendation-system
Deeprec
推荐、广告工业界经典以及最前沿的论文、资料集合/ Must-read Papers on Recommendation System and CTR Prediction
Stars: ✭ 822 (+596.61%)
Mutual labels:  recommendation-system
Tensorrec
A TensorFlow recommendation algorithm and framework in Python.
Stars: ✭ 1,130 (+857.63%)
Mutual labels:  recommendation-system
Openrec
OpenRec is an open-source and modular library for neural network-inspired recommendation algorithms
Stars: ✭ 360 (+205.08%)
Mutual labels:  recommendation-system
Personalized Recommend
基于tensorflow的个性化电影推荐系统实战(有前端)
Stars: ✭ 97 (-17.8%)
Mutual labels:  recommendation-system
Atrank
An Attention-Based User Behavior Modeling Framework for Recommendation
Stars: ✭ 334 (+183.05%)
Mutual labels:  recommendation-system
Movie
Personalized real-time movie recommendation system
Stars: ✭ 37 (-68.64%)
Mutual labels:  recommendation-system
Movielens Recommender System Javascript
🍃 Recommender System in JavaScript for the MovieLens Database
Stars: ✭ 105 (-11.02%)
Mutual labels:  recommendation-system
Recsys
计算广告/推荐系统/机器学习(Machine Learning)/点击率(CTR)/转化率(CVR)预估/点击率预估
Stars: ✭ 1,350 (+1044.07%)
Mutual labels:  recommendation-system
Movie Recommender System
Basic Movie Recommendation Web Application using user-item collaborative filtering.
Stars: ✭ 85 (-27.97%)
Mutual labels:  recommendation-system

NAIS: Neural Attentive Item Similarity Model

This is our official implementation for the paper:

NAIS: Neural Attentive Item Similarity Model for Recommendation Xiangnan He, Zhankui He, Jingkuan Song, Zhenguang Liu, Yu-Gang Jiang, & Tat-Seng Chua IEEE Transactions on Knowledge and Data Engineering (TKDE 2018)

Two collaborative filtering models: NAIS_concat and NAIS_prod. To target the models for implicit feedback and ranking task, we optimize them using log loss with negative sampling.

Also, we implement the baseline: FISM, which is the well-known item-based recommendation model.

Please cite our paper if you use our codes. Thanks!

Corresponding Author: Dr. Xiangnan He (http://www.comp.nus.edu.sg/~xiangnan/)

Quick to Start

Run NAIS_prod:

python NAIS.py --dataset pinterest-20 --pretrain 0 --weight_size 16 --embed_size 16 --data_alpha 0 --regs [0,0,1e-6] --alpha 0--beta 0.5 --lr 0.05 --algorithm 0

Run NAIS_concat:

python NAIS.py --dataset pinterest-20 --pretrain 0 --weight_size 16 --embed_size 16 --data_alpha 0 --regs [0,0,1e-6] --alpha 0--beta 0.5 --lr 0.05 --algorithm 1

Run FISM:

python FISM.py --dataset pinterest-20 --pretrain 0 --embed_size 16 --alpha 0 --lr 0.01

For more argument details, you can use python FISM.py -h and python NAIS.py -h to obtain them.

Environment

Python 2.7

TensorFlow >= r1.0

Numpy >= 1.12

PS. For your reference, our server environment is Intel Xeon CPU E5-2630 @ 2.20 GHz and 64 GiB memory. We recommend your free memory is more than 16 GiB to reproduce our experiments (and we are still trying to reduce the memory cost...).

Dataset

We provide two processed datasets: MovieLens 1 Million (ml-1m) and Pinterest (pinterest-20) in Data/

train.rating:

  • Train file.
  • Each Line is a training instance: userID\t itemID\t rating\t timestamp (if have)

test.rating:

  • Test file (positive instances).
  • Each Line is a testing instance: userID\t itemID\t rating\t timestamp (if have)

test.negative

  • Test file (negative instances).
  • Each line corresponds to the line of test.rating, containing 99 negative samples.
  • Each line is in the format: (userID,itemID)\t negativeItemID1\t negativeItemID2 ...

Update: February 5, 2018

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