Main Content
averagePrecision
Description
evaluates the average precision (AP) for all classes and overlap thresholds of
ap
= averagePrecision(metrics
)metrics
.
AP aggregates the precision across different recall levels, providing a single metric to assess the overall ability of an object detector to identify objects accurately while minimizing false detections.
specifies options for the average precision evaluation using one or more name-value
arguments. For example, ap
= averagePrecision(metrics
,Name=Value
)ClassNames=["cars" "people"]
specifies to
evaluate the average precision metric for the cars and people classes.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2024b