Average accuracy AP: which accuracy is accumulated only when looking for a return
Manually calculates the average accuracy of a sorting, distinguishing AP from a fixed position accuracy.
Learning objectives and first steps2 objectives . 1 first fix
Try to do it after reading
- Manual average accuracy of a sorted
- Distinguishing AP from fixed position accuracy
Suggested first
- Classification and probabilities projections
Get back to the quality of more normal times
The average accuracy weighs the corresponding accuracy of recall increases by recall increment and is often used to sort relevant or rare events. It is not a simple average of the accuracy of all positions, nor is it necessarily equivalent to some kind of gradient integral of the PR point. The reporting of a short AP requires clear tasks, labels and specific realization definitions.
Calculating four positions
The composite sorting label was [1,1,01], with a total of two positive examples. The first one was recovered, with 1 accuracy and 0.5 recall; The third one is the second, two-thirds accuracy, and the third one is recalled. Both calls were increased by 0.5, so AP is 0.5x1+0.5x2/3=5/6, approximately 0.83333. The first two are fixed with only 1/2 and the first three with 2/3, and they answer different questions from AP. A simple average of 1, 1/2, 2/3, 1/2 of the four positions is obtained by two thirds, and is not AP, since no new recall weight is added to the negative cases.
Label Full set determines the denominator
The total number of cases should come from a clear assessment pool. If only the full cases were defined in the recalled candidates, the missing entries would disappear from the denominator, making AP even higher. The real pool often does not cover the entire library and requires a statement that the pool is constructed, sampled and unmarked items processed, and the unknown relevance cannot be implicitly attributed to the negative case, which claims to be a complete evaluation.
Parallel to Tasks
The same score is usually treated as a threshold group, and the goal is changed if you want to break it in the original row order. AP in the target test also involves matching, handing and matching thresholds and possible plug-in rules, which cannot be directly confused with the average accuracy of the general category II.
How to compare models
PR Indicator category affected by the positive base rate, by different population groups or by sampling programme AP Be careful to compare. The average MAP for queries also requires rules for how many labels each query has, and how to handle it without a regular query. When popular queries contain more items, the minor averages represent on average different objectives than the equivalent. The training selection should be based on a fixed assessment pool and sample version, so as to avoid a new model that is more appropriately aligned to a particular batch of manual indications. Access also requires delays, coverage, exposure mechanisms and actual feedback; The AP upgrade is evidence of offline sequencing and is not automatically equal to user experience or benefit improvement. The indicator points, denominators and aggregates are clearly documented in order to reproduce a seemingly simple ranking figure.
Self-measurement and provocator
This example, AP, why do you make up only the first and the third?
Only two recall increases of 0.5 per increment; No positive additions have been made to other locations, and no corresponding weights have been added.
Does it make sense to compare the top two accuracys of 0.5 to AP0.8333 directly?
They are different indicators, the former for a fixed presentation of the budget and the latter for a consolidation of the recovery process, which should be explained separately by mandate.
Sources and reconciliations
Definitions, methods and interfaces are available.
Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.