Giter Site home page Giter Site logo

imbalanced_data-npc's Introduction

NPC: Neighbors' Progressive Competition

This is the Matlab implementation of "NPC: Neighbors Progressive Competition Algorithm for Classification of Imbalanced Data Sets" paper by Soroush Saryazdi, Bahareh Nikpour and Hossein Nezamabadi-pour. This paper has been accepted in Signal Processing and Intelligent Systems (ICSPIS), International Conference of IEEE, 2017. For more details and the pseudo code of this method please refer to the arXiv preprint version of this paper which can be found here: [arXiv Preprint]

---- Code Instructions ----

-main_NPC.m:

This code is an example of classification using NPC. Use this if you are not sure how the code works.

-CompN.m:

Function that classifies the results using NPC method.
inputs: Sample (training data), Test (test data), Weights (weights calculated by the formula in the paper), WinThresh (winning threshold)
output: classification result (predicted labels)

-GMCalc.m:

Function that calculates Geometric Mean (GM) which is a common metric for evaluating an algorithm's performance on imbalanced data.
inputs: Test (test data labels), Result (classification result: predicted labels)
output: Geometric Mean

-Example_Imbalanced_Dataset_Train.mat:

This is an example training set that was artificially generated, to use in main_NPC to demonstrate how the code works.

-Example_Imbalanced_Dataset_Test.mat:

This is an example test set that was artificially generated, to use in main_NPC to demonstrate how the code works.

imbalanced_data-npc's People

Contributors

saryazdi avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

tang16

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.