GithubHelp home page GithubHelp logo

crazy-or-legends / tencent2020_top5 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bottergpt/tencent2020_top5

0.0 0.0 0.0 6.68 MB

2020腾讯广告算法大赛 Top5 solution. https://algo.qq.com/

Shell 0.48% Python 99.52%

tencent2020_top5's Introduction

2020腾讯广告算法大赛Top5 Solution

具体方案可以参考答辩PPT以及答辩视频。

1. 队伍名称及成员:BANJITINO

zhangqibot阿郑zzz贝壳er

2. 运行环境

# tf1.12
conda create -y -n tf1 python=3.6 tensorflow-gpu=1.12 keras=2.2.4 &&
conda activate tf1 &&
pip install pandas tqdm sklearn
# pip install glove_python gensim 

# tf2.2
conda create -y -n tf2 python=3.8 tensorflow-gpu=2.2 &&
conda activate tf2 &&
pip install pandas tqdm sklearn

# torch1.4
conda create -y -n torch python=3.8 pytorch=1.4.0 &&
conda activate torch &&
pip install gensim pandas tqdm sklearn

环境详见requirements_tf1.txt,requirements_tf2.txt 和 requirements_torch.txt

3. 运行

bash run.sh

运行顺序是:

#!/bin/bash
bash preprocess/run.sh &&  # 数据预处理
bash get_emb/run.sh &&     # embedding
bash model/run.sh &&       # 模型的训练,均采用20分类进行预测
bash oof/run.sh &&         # 对模型训练的输出结果进行归并,处理成model.npy,里面是[400w,20]的矩阵
bash ensemble/run.sh       # 对模型的oof做stacking,用的是Ridge
echo "all done!"

4. Reference

5. Email

[email protected]

tencent2020_top5's People

Contributors

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