Giter VIP home page Giter VIP logo

ctr's Introduction

ctr

experiments of ctr prediction algorithm

特征工程

数据的特征有以下trick:

  • site_id == '85f751fd'是APP数据
  • device_id == 'a99f214a'是匿名数据,用device_ip + device_model代替
  • app的数据和site的数据需要分开使用, 都有id、domain、category三个属性

最后采用的feature:

  • 媒体特征:pub_id、pub_domain、pub_category
  • 广告位特征:banner_pos
  • 用户特征:device_modeldevice_conn_type
  • 盲特征:C14、C17、C20、C21
  • 时间特征:hour
  • 统计特征:
    • device_ip_count 、device_id_count: > 1000时为值, 否则为出现的次数
    • smooth_user_hour_count: 当前小时user_id出现的次数, >30 次则统一一个数字
    • 如果用户出现总次数>30,取用户出现总次数user_count,不然取用户出现出user-count + user-click-historyuser-click-history去用户前一个小时最近4次的点击记录,例如0100(对比赛预测无用,会直接退化成user_count?)

ctr's People

Contributors

breakhearts avatar

Watchers

 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.