--- description: Explore Ultralytics YOLO metrics tools - from confusion matrix, detection metrics, pose metrics to box IOU. Learn how to compute and plot precision-recall curves. keywords: Ultralytics, YOLO, YOLOv3, YOLOv4, metrics, confusion matrix, detection metrics, pose metrics, box IOU, mask IOU, plot precision-recall curves, compute average precision --- ## ConfusionMatrix --- ### ::: ultralytics.utils.metrics.ConfusionMatrix

## Metric --- ### ::: ultralytics.utils.metrics.Metric

## DetMetrics --- ### ::: ultralytics.utils.metrics.DetMetrics

## SegmentMetrics --- ### ::: ultralytics.utils.metrics.SegmentMetrics

## PoseMetrics --- ### ::: ultralytics.utils.metrics.PoseMetrics

## ClassifyMetrics --- ### ::: ultralytics.utils.metrics.ClassifyMetrics

## box_area --- ### ::: ultralytics.utils.metrics.box_area

## bbox_ioa --- ### ::: ultralytics.utils.metrics.bbox_ioa

## box_iou --- ### ::: ultralytics.utils.metrics.box_iou

## bbox_iou --- ### ::: ultralytics.utils.metrics.bbox_iou

## mask_iou --- ### ::: ultralytics.utils.metrics.mask_iou

## kpt_iou --- ### ::: ultralytics.utils.metrics.kpt_iou

## smooth_BCE --- ### ::: ultralytics.utils.metrics.smooth_BCE

## smooth --- ### ::: ultralytics.utils.metrics.smooth

## plot_pr_curve --- ### ::: ultralytics.utils.metrics.plot_pr_curve

## plot_mc_curve --- ### ::: ultralytics.utils.metrics.plot_mc_curve

## compute_ap --- ### ::: ultralytics.utils.metrics.compute_ap

## ap_per_class --- ### ::: ultralytics.utils.metrics.ap_per_class