Git Product home page Git Product logo

ctrip14's Introduction

出行产品未来14个月销量预测

比赛描述

携程作为**领先的综合性旅行服务公司,每天向超过2.5亿会员提供全方位的旅行服务,海量的网站访问产生了海量的数据,从中挖掘潜在的信息资源有着重要意义。调研发现,在出行产品预订业务中,不同区域的产品需求量级不一样,不同时段需求量会有高低起伏,相同区域相同时段各产品的需求量因产品特性不同又有差异。此次竞赛的目的正是为了深入了解产品需求量和产品特性、历史销量的关系,挖掘出影响需求量的关键因素,预测出行产品未来14个月每月的销量,从而指导产品的库存管理和定价策略,这对于收益管理和客户价值的提升有着重要作用。比赛地址 数据地址

赛后和其他团队交流后感觉比我们的方案做的很粗糙,有很多值得学习和改进的地方。

运行环境

  • Windows10
  • Python 3.5.2
  • lightgbm 0.1
  • scikit-learn 0.18.1
  • Pandas 0.19.2
  • Numpy 1.12.0

文件说明

  • ctripfunc.py 特征处理函数
  • solution.py 主函数
  • prediction_lilei_20170320.txt 官方的提交样例,用于生成最终结果的格式
  • best_result.txt 最终预测结果文件

运行说明

  • 将原始数据文件,包括product_info.txtproduct_quantity.txt放置在代码同级目录下,直接运行solution.py即可,生成的l_bg46_lgb100_1first.txt为最终提交的结果文件。

ctrip14's People

Contributors

shenweichen avatar

Watchers

 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.