GithubHelp home page GithubHelp logo

hufengquna / give-me-some-credit-kaggle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rafmacalaba/give-me-some-credit-kaggle

0.0 1.0 0.0 22 KB

License: MIT License

Jupyter Notebook 86.15% Python 13.85%

give-me-some-credit-kaggle's Introduction

Project for Optimized Ensembling/Stacking of different models

Original/Newbie Approach can be found in a kaggle public kernel: https://www.kaggle.com/leafar/give-me-some-credit

Models used:

Neural Nets: sklearn's MLPClassifier & Keras XGBoost: XGBClassifier LightGBM: LGBClassifier LogisticRegression RandomForestClassifier

5 Different models used for diversity: Weak learners: LogisticRegression Neural Nets: (underfitting)

Strong learners: XGBoost - best LGB RF

Competition page

[Give Me Some Credit: Improve on the state of the art in credit scoring by predicting the probability that somebody will experience financial distress in the next two years.] https://www.kaggle.com/c/GiveMeSomeCredit

Raw data can be located at the provided link under Data tab

or download via kaggle API using: kaggle competitions download -c GiveMeSomeCredit

HOW TO USE:

  1. install requirements.txt (pip install -r requirements.txt)
  2. download the dataset in the link from kaggle or use kaggle API
  3. run Data Processor Original Dataset.ipynb
  4. run Credit_Full Bayesian Model Training and Predictions.ipynb
  5. output logs can be found in output.logs

CREDITS

pipeline reference https://github.com/avsolatorio/world-bank-pover-t-tests-solution which was originally written in python 2. so I made changes to be used it in python 3.

Thanks to Aivin Solatorio https://github.com/avsolatorio for answering questions regarding the overall process.

give-me-some-credit-kaggle's People

Contributors

rafmacalaba avatar

Watchers

James Cloos 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.