Giter Club home page Giter Club logo

metrics's Introduction

Metrics for Event Detection

Below is a collection of metrics we applied for report facial action unit (AU) results. However, these metrics can be used for evaluating various applications involving object or event detection.

  1. ROC curve and its area under the curve
  2. Frame-based F1 score
  3. Skew-normalized F1 score
  4. Event-based F1-score

Contents

The project tree is organized as follows.

func/           directory for utility functions
README.md       this file
demoMet.m       demo of metrics given a ground truth label and a prediction

Usage

In Matlab shell:

>> cd metrics
>> demoMet

Given that the ground truth annotation label and predicted decision value decV are vectors of the same length , the function signature for different metrics are as follows:

  1. ROC: metR = getROC(label, decV)
  2. F1-frame: metF = getF1F(label, decV)
  3. F1-norm: metN = getF1N(label, decV)
  4. F1-event: metE = getF1E(label, decV)

The script has been tested on Windows 8, Ubuntu 3.11.0 and Mac X 10.9.4 without problems. Please send your feedbacks to Wen-Sheng Chu regarding any issues, bugs and improvements.

More Info

  • Links: [ paper ]
  • Contact: Please send comments to Wen-Sheng Chu ([email protected])
  • Citation: If you use this code in your paper, please cite either of the following:
@inproceedings{ding2013facial,
  title={Facial Action Unit Event Detection by Cascade of Tasks.},
  author={Ding, X. and Chu, W.-S. and {De la Torre}, F. and Cohn, J. F. and Wang, Q.},
  booktitle={ICCV},
  year={2013}
}
@article{ding2016cascade,
  title={Cascade of Tasks for Facial Expression Analysis},
  author={Ding, X. and Chu, W.-S. and {De la Torre}, Fernando and Cohn, J. F. and Wang, Q.},
  journal={Image and Vision Computing},
  year={2016},
}

License

The code may be redistributed under BSD license. Please send your feedbacks to Wen-Sheng Chu. :)

metrics's People

Contributors

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