项目介绍

duxy-me/ConvNCF 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,目前获得 140 个 Star、46 次 Fork。

仓库全名
duxy-me/ConvNCF
Star 数
140
Fork 数
46
未关闭 Issue
3

README 摘要

Outer Product-based Neural Collaborative Filtering Convolutional Neural Collaborative Filtering performs well based on outer product of user and item embeddings. This is our official implementation for the paper: Xiangnan He, Xiaoyu Du, Xiang Wang, Feng Tian, Jinhui Tang, Tat-Seng Chua, Outer Product-based Neural Collaborative Filtering, In Proceedings of IJCAI'18. If you use the codes, please cite our paper…

完整内容见 GitHub 原始 README 或本页 。

常见问题

ConvNCF 用什么语言开发?

主要使用 Python 编写,目前有 140 个 Star。

如何获取 ConvNCF 的源码?

可以直接克隆仓库:git clone https://github.com/duxy-me/ConvNCF.git;安装与运行步骤见仓库 README。

ConvNCF 最近还在维护吗?

仓库最近一次更新为 2019年6月30日,当前有 3 个未关闭 Issue;Star 数为 140,可作为社区活跃度的参考。

关于

Experimental codes for paper "Outer Product-based Neural Collaborative Filtering".

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
372
价值分
111
活跃状态
活跃

README

Outer Product-based Neural Collaborative Filtering

Convolutional Neural Collaborative Filtering performs well based on outer product of user and item embeddings. This is our official implementation for the paper:

Xiangnan He, Xiaoyu Du, Xiang Wang, Feng Tian, Jinhui Tang, Tat-Seng Chua, Outer Product-based Neural Collaborative Filtering, In Proceedings of IJCAI’18.

If you use the codes, please cite our paper . Thanks!

Requirements

  • Tensorflow 1.7
  • numpy, scipy

Quick Start

figure.png

  1. decompress the data files.

    cd Data
    gunzip *
    
  2. Pretrain the embeddings using MF_BPR with

    python MF_BPR.py
    
  3. Train ConvNCF with pretrained embeddings

    python ConvNCF.py --pretrain=1
    

Dataset

We provide the compressed dataset Yelp(yelp) 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 999 negative samples. Each line is in the format:

(userID,itemID)\t negativeItemID1\t negativeItemID2 ...

Files

  • Data. Training and testing data.
    • yelp.train.rating. Rating of training data.
    • yelp.test.rating. Rating of testing data.
    • yelp.test.negative. 1000 testing samples for each user. (0,32) means this row is for user 0 and the positive test item is 32.
  • Dataset.py. Module preprocessing data.
  • saver.py. Module saving parameters.
  • MF_BPR.py. MF model with BPR loss.
  • ConvNCF.py. Our model.

评论

暂无评论