GithubHelp home page GithubHelp logo

binary_ensemble's Introduction

Binary Ensemble

This is an ensemble model of binary classification neural networks.

The biggest problem with thermal comfort datasets is that they are often imbalanced. When self-reporting, people are much more likely to report that they are comfortable as opposed to too warm or too cold. This creates a major class imbalance because now, most of the dataset has been labelled "comfortable" and training becomes much harder for machine learning models. The below graphic shows the class imbalance in one particular dataset:

There are multiple ways to combat this such as undersampling the majority class (however, this gets rid of precious data) or synthesizing samples for the minority classes using techniques such as SMOTE, ADASYN, or even using neural networks such as GANs.

This repo proposes a new method to combat imbalanced datasets by creating 'k' binary classifiers for each class (and combining the non target classes into one class for each model), synthesizing data to combat the remaining imbalance using a CGAN, and then classifying by using the maximum probability across all the classifiers for each class. A workflow for this is shown below: This image shows the k classifiers for one particular class, and we would create a new ensemble for each class in the dataset.

This model would work only when the imbalance ratio between the majority class and minority classes is high, while the imbalance ratio between the minority classes themselves is low, which is exactly what the imbalance in thermal comfort datasets look like.

binary_ensemble's People

Contributors

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