Git Product home page Git Product logo

alitianchi's Introduction

2015阿里巴巴天池大数据竞赛-阿里移动推荐

竞赛介绍:链接

本repo目录说明

  • data 存放数据
  • preprocess 数据预处理
  • rule 根据规则生成提交文件
  • model 训练机器学习模型(暂时不分享)

代码使用说明

  • fork本repo,非Github用户请点右下角的Downlown ZIP

  • 解压后,将tianchi_mobile_recommend_train_user.csv以及tianchi_mobile_recommend_train_item.csv放入/data/目录下

  • 仅需两个步骤即可获得一份提交文件,F1可达到7.6%

    • 第一步,进入/preprocess/目录,运行data_preprocess.py
    • 第二步,进入/rule/目录,运行gen_submission_by_rule.py
  • 完成上面两个步骤后,在/rule/目录下会生成一份tianchi_mobile_recommendation_predict.csv文件,提交它。

补充说明

  • 纯Python,无任何依赖项。

  • 关于代码实现的功能,在每份代码文件中均有注释,代码可能写得比较乱,也可能有bug,欢迎issues。

  • 如果你想获得更高的F1值,修改gen_submission_by_rule.py这份文件,加入一些规则,F1可以达到9%以上。

  • 建议在Linux下运行;在我的PC上(8核),上面两个步骤总共花了不到20分钟。

  • 请在规则的基础上,做特征工程,训练模型,这才是参赛目的。

  • 进入第二赛季后,请删了这些代码,不适合处理大数据。

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.