Giter VIP home page Giter VIP logo

2020sccompetition's Introduction

2020SCcompetition

此文件为2020年首届四川电话诈骗初赛 本小组的源码 分享出来仅供参考与使用

下载数据集

使用的方法是运行 requist_try.py python download_gdrive.py GoogleFileID /path/xxxx.file 下载数据集合至当前文件夹

文件夹的位置关系如下:

--当前文件夹 |-DataExtraction.py
|-datasetupdate.py
|-LightGBM.py
|-stacking.py
|--train
|-train_app.csv
|-train_sms.csv
|-train_user.csv
|-train_voc.csv

|--test
test_app.csv
test_sms.csv
test_user.csv
test_voc.csv

|--data
submit_example.csv

依次运行:

DataExtraction.py

获取(得到)
new_train.csv
new_test.csv
文件

datasetupdate.py

获取(得到)
train_data.csv
test_data.csv
target.csv

最后的学习

文档中提供了两种学习的方式

lightGBM.py

第一种为基础的lightgbm的方式
获得的准确率大概在0.88左右

stacking.py

第二种是将多个基础的学习器stacking
获得的准确率在验证集合中大约0.91

2020sccompetition's People

Contributors

liaofj avatar mayoluy avatar maoshifu-yang avatar

Stargazers

 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.