Giter VIP home page Giter VIP logo

tifuknn's Introduction

TIFUKNN

This is our implementation for the paper:

Haoji Hu, Xiangnan He, Jinyang Gao, Zhi-Li Zhang (2020). Modeling Personalized Item Frequency Information for Next-basket Recommendation. In the 43th International ACM SIGIR Conference on Research and Development in Information Retrieval.

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

@inproceedings{hu2020TIFUKNN,
  title={Modeling Personalized Item Frequency Information for Next-basket Recommendation},
  author={Hu, Haoji and He, Xiangnan and Gao, Jinyang and Zhang, Zhi-Li},
  booktitle={Proceedings of the 43th International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year={2020},
  organization={ACM}
}

Author: Haoji Hu

Environment Settings

  • Python version: '3.6.8'

A quick start to run the codes with Ta-Feng data set.

python TIFUKNN.py ./data/TaFang_history_NB.csv ./data/TaFang_future_NB.csv 300 0.9 0.7 0.7 7 10

TaFang_history_NB.csv contains the historical records of all the customers. TaFang_future_NB.csv contains the future records of all the customers. The 300 is the number neighbors. 0.9 is the time-decayed ratio within each group. The first 0.7 is the time-decayed ratio accross groups. The second 0.7 is the alpha for combining two parts in prediction. 7 is the group size. 10 is the top k items recommened.

tifuknn's People

Contributors

haojihu avatar

Watchers

James Cloos avatar  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.