Git Product home page Git Product logo

ieee-cis-fraud-detection's Introduction

Requirements

python 3.7.3

numpy 1.16.2

pandas 0.24.2

sklearn 0.20.3

keras 2.2.4

tensorflow 1.13.1

xgboost 0.82

lightgbm 2.2.3

How to reproduce

01-Input Model_Data

02-Feature Enginnering

  • 890 features
    cd /02-Feature_Enginnering/890features/
    python lgb_single_final.py----Also output the result

  • 692 features
    cd /02-Feature Enginnering/692features/1.baseline_features_388/
    python 1.feature engineering.py
    python 2.feature selection.py
    python 3.feature engineering.py
    cd /02-Feature Enginnering/692features/2.uid_magic_features_301/
    python uid4_eng.py
    cd /02-Feature Enginnering/692features/3.combine_features_3/
    python combine_features_3.py

03-Single Model

  • 890 features
    cd /03-Single_Model/890features/
    python lgb_single_final.py
    -----------------CV 95365 LB 9605

  • 692 features
    cd /03-Single_Model/692features/
    python Lgb_CV9562_LB9597.py
    -----------------CV 9562 LB 9597
    ----------------- tune the parameters the lgb can reach LB 9614
    python Catboost_CV9582_LB9590.py
    -----------------CV 9582 LB 9590
    python NN_CV9518_LB9556.py
    -----------------CV 9518 LB 9556

Model Blend

  • cd /04-Model Blend/
    python model_blend.py
  • Finally:lgb_0930_0.65_v1
  • Public:0.967161 Private:0.943642
step 01:
lgb_890features_blend_0.65=0.65*lgb_kfold_9614+0.35*lgb_kfold_9605
------LB 9646-----
step 02:
lgb_0930_0.95_v0=0.95*lgb_890features_blend_0.65+0.05*CV9518_NN_LB9556
------LB 9663-----
step 03:
lgb_0930_0.65_v1 =0.65*lgb_0930_0.95_v0.csv+0.35*pred_692_features_blend
while:
pred_692_features_blend=0.65*lgb_cv9562_692features_9597+0.35*CatBoost_cv9582_692features_9590

ieee-cis-fraud-detection's People

Contributors

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