GithubHelp home page GithubHelp logo

heatmap_evaluationmetrics's Introduction

saliency_metrics

PLEASE CHECK THE CODE YOURSELF BEFORE USING !!! DO NOT TRUST THIS REPO FOR RESEARCH.

I don't want to waste people's time so full disclosure : I did not get too much time to make sure the results are right, this was implemented in a day. But nevertheless can be used as foundation code with changes made if necessary. I am not sure if all methods are correct. So please check with some examples and check the implementation yourself. I repeat, do NOT trust all methods I am pretty sure some of them have some bugs.

Metrics for comparing two salience maps or two fixation maps. These metrics are implemented in matlab here https://github.com/cvzoya/saliency/tree/master/code_forMetrics . This is just a reimplementation of the metrics in python. The salience benchmark (in matlab) and this code produce the same measures for the same set of inputs.

Metrics implemented are ->

  1. AUC Judd
  2. AUC Borji
  3. AUC shuffled
  4. NSS
  5. Info Gain
  6. SIM
  7. CC
  8. KL divergence

The two maps to be compared are gt and s_map. Each method also discretizes (if needed) and normalizes the maps. Details about each of the methods can be found in the MIT Salience Benchmark paper (What do different evaluation metrics tell us about saliency models?)

Citations - @misc{mit-saliency-benchmark, author = {Zoya Bylinskii and Tilke Judd and Fr{'e}do Durand and Aude Oliva and Antonio Torralba}, title = {MIT Saliency Benchmark}, howpublished = {http://saliency.mit.edu/} }

@article{salMetrics_Bylinskii, title = {What do different evaluation metrics tell us about saliency models?}, author = {Zoya Bylinskii and Tilke Judd and Aude Oliva and Antonio Torralba and Fr{'e}do Durand}, journal = {arXiv preprint arXiv:1604.03605}, year = {2016} }

heatmap_evaluationmetrics's People

Contributors

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