---
description: Explore Ultralytics YOLO's FocalLoss, DetMetrics, PoseMetrics, ClassifyMetrics, and more with Ultralytics Metrics documentation.
keywords: YOLOv5, metrics, losses, confusion matrix, detection metrics, pose metrics, classification metrics, intersection over area, intersection over union, keypoint intersection over union, average precision, per class average precision, Ultralytics Docs
---
## ConfusionMatrix
---
### ::: ultralytics.yolo.utils.metrics.ConfusionMatrix
## Metric
---
### ::: ultralytics.yolo.utils.metrics.Metric
## DetMetrics
---
### ::: ultralytics.yolo.utils.metrics.DetMetrics
## SegmentMetrics
---
### ::: ultralytics.yolo.utils.metrics.SegmentMetrics
## PoseMetrics
---
### ::: ultralytics.yolo.utils.metrics.PoseMetrics
## ClassifyMetrics
---
### ::: ultralytics.yolo.utils.metrics.ClassifyMetrics
## box_area
---
### ::: ultralytics.yolo.utils.metrics.box_area
## bbox_ioa
---
### ::: ultralytics.yolo.utils.metrics.bbox_ioa
## box_iou
---
### ::: ultralytics.yolo.utils.metrics.box_iou
## bbox_iou
---
### ::: ultralytics.yolo.utils.metrics.bbox_iou
## mask_iou
---
### ::: ultralytics.yolo.utils.metrics.mask_iou
## kpt_iou
---
### ::: ultralytics.yolo.utils.metrics.kpt_iou
## smooth_BCE
---
### ::: ultralytics.yolo.utils.metrics.smooth_BCE
## smooth
---
### ::: ultralytics.yolo.utils.metrics.smooth
## plot_pr_curve
---
### ::: ultralytics.yolo.utils.metrics.plot_pr_curve
## plot_mc_curve
---
### ::: ultralytics.yolo.utils.metrics.plot_mc_curve
## compute_ap
---
### ::: ultralytics.yolo.utils.metrics.compute_ap
## ap_per_class
---
### ::: ultralytics.yolo.utils.metrics.ap_per_class