GithubHelp home page GithubHelp logo

arpcode / smote-ada-boost-cobra Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 2.46 MB

An Scikit-learn compatible mini-library with implementations of the COBRA (Classifier) aggregator (that takes any sklearn classifier as an estimator, as opposed to pyCobra), and also provides the functionality of AdaBOOST and SMOTEBOOST. Oversampled Boosting is introduced for dealing with Class Imbalance Issues

Jupyter Notebook 88.44% Python 11.56%
adaboost smoteboost smote cobra classification

smote-ada-boost-cobra's Introduction

Cobra ROSboost for imbalance class problem

Dataset

pima-indian-diabetes:

file: pima-indians-diabetes.csv
--------------points
majority class 500
minority class 268

data:

file: data.csv
--------------points
majority class 950
minority class 50

Directory Structure

│   CoBra.pdf
│   README.md
|   SMOTEBoost results.pdf
│
├───Data
│       haberman.csv
│       pima-indians-diabetes.csv
|       data.csv 
│
├───Notebooks
│       Cobra.ipynb //implementation of COBRA
│       SmoteAdaBoostedCC.ipynb //implementation of AdaBoost, SMOTE and ROSBoost using SMOTE for oversampling
|       CreateDataset.ipynb //creates imbalanced dataset. data.csv containd data created using this code with 95% points in majority class. 
│
└───Scripts
        Boosting.py //implementation of AdaBoost, SMOTE and ROSBoost using SMOTE for oversampling
        CobraClassifier.py //implemenatation of COBRA
   

Results

SMOTEBoost results.pdf contains the results obtained. Results were obtained after applying ROSBoost using SMOTE on a cobra classifier made from 3 desision trees.




DISCLAIMER: This work is for learning purposes only. The work can not be used for publications or commercial products etc. without the mentor’s consent.

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.