Code Monkey home page Code Monkey logo

image-classification-efficacy's Introduction

Image Classification Efficacy (ICE): A better metric for evaluating the discriminative power of a classifier

Image Classification Efficacy (ICE) is introduced for comparing classification methods that are tested with different datasets. It can be used in various fields to consistently evaluate the performance of any classifiers.

This is general Python code of ICE implementation. For the principles of ICE metrics, please refer to original paper: https://ieeexplore.ieee.org/abstract/document/9551959

  • MICE: Map-level Image Classification Efficacy

  • CICE: Commission-error-based Image Classification Efficacy

  • OICE: Omission-error-based Image Classification Efficacy

Where, is the number or percent of sample points classified as class j, is the class total from reference data, is the class total from classification result (predicted data), J is the total number of classes, and n is the total number of samples.

Usage

The computation of ICE metrics expects reference data and predicted data in Numpy list format with one dimension, and also a Python list that contains the value of labels.

from assessment import Efficacy

efficacy = Efficay(ref_list=gt_list_arr, pred_list=pred_list_arr, label_values=[0,1]) # binary classificaion

mice = efficacy.MICE()
oice = efficacy.OICE()
cice = efficacy.CICE()

Citing

If our ICE metrics are helpful to your research or projects, please consider to cite our paper:

@article{shao2021introducing,
  title={Introducing image classification efficacies},
  author={Shao, Guofan and Tang, Lina and Zhang, Hao},
  journal={IEEE Access},
  volume={9},
  pages={134809--134816},
  year={2021},
  publisher={IEEE}
}

image-classification-efficacy's People

Contributors

jinyuanshao avatar

Watchers

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