GithubHelp home page GithubHelp logo

kesci_ctrip's Introduction

比赛地址和数据:https://www.kesci.com/apps/home/#!/competition/58dba69775722d38fa2dfcf6/content/0

通过分析,我们发现数据集是按照orderdate_lastord字段排序过的,所以为了保证抽取的样本和原样本相似,我们将训练样本分成:02468 和13579

主要从uid,basicroomid,roomid三个主体进行特征构造。

1.uid:用户上次订单的相关信息反映了用户的偏好,通过对比这次订单和上次订单的差异来构造特征。

2.basicroomid:通过构造basicroom的特征,模型才可以通过比较不同basicroom的相似性和差异性从训练中学习到用户为什么选择该basicroom。

3.roomid:通过构造room的特征,原因同上。

通过分析,我们还大胆的猜测了roomtag_1其实是携程的推荐,标签应该是猜你喜欢。我们的模型其实已经相当于stacking的第一层。 所以我们也根据这种思路进行融合。 我们在02468训练,然后预测13579以及test上的所有数据集。得到一个新特征:prob

因为题目要求预测7天的数据,所以前6天的数据在这些特征上是穿越的。 所以我们将预测分成了两个模型来分开预测:前6天&第7天

在以上特征的基础上使用lgb进行训练,并未继续做任何融合。

kesci_ctrip's People

Contributors

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