Giter VIP home page Giter VIP logo

best-techniques-and-metrics-for-imbalanced-datasets's Introduction

Best-techniques-and-metrics-for-Imbalanced-Datasets

Imbalanced data refers to a situation, primarily in classification machine learning, where one target class represents a significant proportion of observations. Imbalanced datasets are those where there is a severe skew in the class distribution, such as 1:100 or 1:1000 examples in the minority class to the majority class.

Class Imbalance appear in many domains, including:

  • Fraud detection (the vast majority of the transactions will be in the "Not-Fraud” class)
  • Disease screening (the vast majority will be healthy)
  • Subscription churn (the vast majority of customers stay with the service - the “No-Churn” class)
  • Ad Serving (click prediction datasets don’t have a high clickthrough rate)

There are several approaches to solving class imbalance problem before starting classification, such as:

  • More samples from the minority class(es) should be acquired from the knowledge domain.

  • Changing the loss function to give the failing minority class a higher cost.

  • Oversampling the minority class.

  • Undersampling the majority class.

  • Any combination of previous approaches.

Oversampling methods duplicate or create new synthetic examples in the minority class, whereas undersampling methods delete or merge examples in the majority class. Oversampling is the most often used approach (but not necessarily the best).

best-techniques-and-metrics-for-imbalanced-datasets's People

Contributors

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