GithubHelp home page GithubHelp logo

Comments (1)

WesleyZhang1991 avatar WesleyZhang1991 commented on September 25, 2024

map@100是用在测试集的,与训练集无关,只要某个Query(查询图片)有至少1张GT都能算。

例如某Query其GT为M和P,Query在Index(底库,假设有N张图片)中搜索,会获得所有N张Index图片与Query图片的相似度,按相似度从大到小排序即Q: ABCDM...(省略95个,这中间没有P)qaP(这个P排103位)

则map@all = 0.5 * (1/5 + 2/103)

map@100 = 0.5 * (1/5)

在图片检索领域,一些人把map@100错误地算成map@100 = (1/5),认为P不在前100可以不记做分母,参考谷歌的论文和delg代码,谷歌是按正确方法计算的。评价方式更多讨论,可以见https://stackoverflow.com/questions/54966320/mapk-computation

from google_landmark_retrieval_2021_2nd_place_solution.

Related Issues (6)

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.