The iron ML notebook
  • The iron data science notebook
  • ML & Data Science
    • Frequent Questions
      • Discriminative vs Generative models
      • Supervised vs Unsupervised learning
      • Batch vs Online Learning
      • Instance-based vs Model-based Learning
      • Bias-Variance Tradeoff
      • Probability vs Likelihood
      • Covariance vs Correlation Matrix
      • Precision vs Recall
      • How does a ROC curve work?
      • Ridge vs Lasso
      • Anomaly detection methods
      • How to deal with imbalanced datasets?
      • What is "Statistically Significant"?
      • Recommendation systems methods
    • Statistics
      • The basics
      • Distributions
      • Sampling
      • IQR
      • Z-score
      • F-statistic
      • Outliers
      • The bayesian basis
      • Statistic vs Parameter
      • Markov Monte Carlo Chain
    • ML Techniques
      • Pre-process
        • PCA
      • Loss functions
      • Regularization
      • Optimization
      • Metrics
        • Distance measures
      • Activation Functions
      • Selection functions
      • Feature Normalization
      • Cross-validation
      • Hyperparameter tuning
      • Ensemble methods
      • Hard negative mining
      • ML Serving
        • Quantization
        • Kernel Auto-Tuning
        • NVIDIA TensorRT vs ONNX Runtime
    • Machine Learning Algorithms
      • Supervised Learning
        • Support Vector Machines
        • Adaptative boosting
        • Gradient boosting
        • Regression algorithms
          • Linear Regression
          • Lasso regression
          • Multi Layer Perceptron
        • Classification algorithms
          • Perceptron
          • Logistic Regression
          • Multilayer Perceptron
          • kNN
          • Naive Bayes
          • Decision Trees
          • Random Forest
          • Gradient Boosted Trees
      • Unsupervised learning
        • Clustering
          • Clustering metrics
          • kMeans
          • Gaussian Mixture Model
          • Hierarchical clustering
          • DBSCAN
      • Cameras
        • Intrinsic and extrinsic parameters
    • Computer Vision
      • Object Detection
        • Two-Stage detectors
          • Traditional Detection Models
          • R-CNN
          • Fast R-CNN
          • Faster R-CNN
        • One-Stage detectors
          • YOLO
          • YOLO v2
          • YOLO v3
          • YOLOX
        • Techniques
          • NMS
          • ROI Pooling
        • Metrics
          • Objectness Score
          • Coco Metrics
          • IoU
      • MOT
        • SORT
        • Deep SORT
  • Related Topics
    • Intro
    • Python
      • Global Interpreter Lock (GIL)
      • Mutability
      • AsyncIO
    • SQL
    • Combinatorics
    • Data Engineering Questions
    • Distributed computation
      • About threads & processes
      • REST vs gRPC
  • Algorithms & data structures
    • Array
      • Online Stock Span
      • Two Sum
      • Best time to by and sell stock
      • Rank word combination
      • Largest subarray with zero sum
    • Binary
      • Sum of Two Integers
    • Tree
      • Maximum Depth of Binary Tree
      • Same Tree
      • Invert/Flip Binary Tree
      • Binary Tree Paths
      • Binary Tree Maximum Path Sum
    • Matrix
      • Set Matrix Zeroes
    • Linked List
      • Reverse Linked List
      • Detect Cycle
      • Merge Two Sorted Lists
      • Merge k Sorted Lists
    • String
      • Longest Substring Without Repeating Characters
      • Longest Repeating Character Replacement
      • Minimum Window Substring
    • Interval
    • Graph
    • Heap
    • Dynamic Programming
      • Fibonacci
      • Grid Traveler
      • Can Sum
      • How Sum
      • Best Sum
      • Can Construct
      • Count Construct
      • All Construct
      • Climbing Stairs
Powered by GitBook
On this page
  • Average Precision Metrics
  • Average Recall Metrics

Was this helpful?

  1. ML & Data Science
  2. Computer Vision
  3. Object Detection
  4. Metrics

Coco Metrics

PreviousObjectness ScoreNextIoU

Last updated 8 months ago

Was this helpful?

Summary of Key Concepts:

  • AP (Average Precision): Measures the model's precision across various IoU thresholds and object sizes.

  • AR (Average Recall): Measures how well the model can recall (find) all object instances, given a certain number of detections.

  • IoU (Intersection over Union): Indicates how much overlap exists between the predicted bounding box and the ground truth. Different IoU thresholds (e.g., 0.50 or 0.75) correspond to different degrees of overlap required for a correct detection.

Average Precision Metrics

The metric reflects the average precision across all object catogories. Aside from the main AP metric, other metrics are performed to provide a better understanding of how the model performs:

  • For @IoU: evaluation is performed across various IoU thresholds.

    • bbox_mAP: is computed from 0.5 to 0.95 in steps of 0.05.

    • bbox_mAP_50: at IoU = 0.5.

    • bbox_mAP_75: at IoU = 0.75.

  • For the bbox size:

    • bbox_mAP_s: for small objects (with an area below 32² pixels).

    • bbox_mAP_m: for medium objects (with an area between 32² and 96² pixels inclusive).

    • bbox_mAP_l: for large objects (with an area above 96² pixels).

Average Recall Metrics

Captures the model's ability to find all objects, emphasizing the minimum amount of false negatives.

  • bbox_AR@100: considering only up to 100 detections per image.

  • bbox_AR@300: considering up to 300 detections per image.

  • bbox_AR@1000: considering up to 1000 detections per image.

  • bbox_AR_s@1000: considering up to 1000 small detections per image.

  • bbox_AR_m@1000: considering up to 1000 medium detections per image.

  • bbox_AR_l@1000: considering up to 1000 large detections per image.

Precision vs Recall