GithubHelp home page GithubHelp logo

cuiyuebing / interhat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zyli93/interhat

0.0 0.0 0.0 298.21 MB

This is the repository for our WSDM 2020 publication: Interpretable Click-through Rate Prediction through Hierarchical Attention

License: MIT License

Python 99.40% Shell 0.60%

interhat's Introduction

Interpretable Click-through Rate Prediction through Hierarchical Attention

Author: Zeyu Li [email protected]

About

This is the Repo for Interpretable Click-through Rate Prediction through Hierarchical Attention. Please find our paper using the following citation

@inproceedings{han2019all,
  title={Interpretable Click-Through Rate Prediction through Hierarchical Attention},
  author={Li, Zeyu and Cheng, Wei and Chen, Yang and Chen, Haifeng and Wang, Wei},
  booktitle={Proceedings of the Thirteenth ACM International Conference on Web Search and Data Mining},
  year={2020},
  organization={ACM}
}

Run

Dependencies

Please check requirements.txt for dependent packages or run

$ pip install -r requirements.txt

Preprocess dataset

  1. Create following structure in the folder
interhat
|-- data
|   |-- raw
|   |   |-- criteoDAC (put unzipped data)
|   |   |-- avazu (put unzipped data)
|   |-- parse
|-- interhat
    |-- ...
  1. Run preprocess
$ python interhat/preprocess.py [dataset] [n_buckets]

Run InterHAt

Run run.sh as an example.

Datasets

This section introduces the datasets.

Criteo

$ curl -O http://azuremlsampleexperiments.blob.core.windows.net/criteo/day_{'seq -s ',' 0 23'}.gz

An useful repo: https://github.com/rambler-digital-solutions/criteo-1tb-benchmark#task-and-data

Avazu

Avazu dataset is from Kaggle: https://www.kaggle.com/c/avazu-ctr-prediction

Frappe

Frappe: https://github.com/hexiangnan/neural_factorization_machine/tree/master/data/frappe

interhat's People

Contributors

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