Code Monkey home page Code Monkey logo

delayed-feedback-model's Introduction

Delayed Feedback Model (DFM)

Overview

PyTorch implementation of the paper.
Modeling Delayed Feedback in Display Advertising, Olivier Chapelle, KDD2014

Dataset

columns

  • feature1 ... feature_n: Categorical feautre column. (Assuming all variables are categorical.)
  • elapsed_day: Days elapsed since click.
  • cv_delay_day: Days delayed from click to conversion. (Only observable if conversions are observed)
  • supervised: Conversion label. (If conversions are observed 1)

sample dataset

   feature1  feature2  feature3  elapsed_day  cv_delay_day  supervised
0         1         1         1           10           3.0           1
1         3         3         3            3           NaN           0
2         5         5         5           30           NaN           0
3         7         7         7            2           1.0           1
4         2         2         2            6           NaN           0
5         5         5         5            1           NaN           0
6         1         1         1           11           8.0           1
7         3         3         3           32           NaN           0

remarks

In the paper, feature hashing is used for vectorization of categorical variables.

All the features are mapped into a sparse binary feature vector of dimension 2^24 via the hashing trick [17].

In this implementation, embedding layer is used instead of feature hashing for vectorization.

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.