---
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
---
# FocalLoss
---
:::ultralytics.yolo.utils.metrics.FocalLoss
< br > < br >
# ConfusionMatrix
---
:::ultralytics.yolo.utils.metrics.ConfusionMatrix
< br > < br >
# Metric
---
:::ultralytics.yolo.utils.metrics.Metric
< br > < br >
# DetMetrics
---
:::ultralytics.yolo.utils.metrics.DetMetrics
< br > < br >
# SegmentMetrics
---
:::ultralytics.yolo.utils.metrics.SegmentMetrics
< br > < br >
# PoseMetrics
---
:::ultralytics.yolo.utils.metrics.PoseMetrics
< br > < br >
# ClassifyMetrics
---
:::ultralytics.yolo.utils.metrics.ClassifyMetrics
< br > < br >
# box_area
---
:::ultralytics.yolo.utils.metrics.box_area
< br > < br >
# bbox_ioa
---
:::ultralytics.yolo.utils.metrics.bbox_ioa
< br > < br >
# box_iou
---
:::ultralytics.yolo.utils.metrics.box_iou
< br > < br >
# bbox_iou
---
:::ultralytics.yolo.utils.metrics.bbox_iou
< br > < br >
# mask_iou
---
:::ultralytics.yolo.utils.metrics.mask_iou
< br > < br >
# kpt_iou
---
:::ultralytics.yolo.utils.metrics.kpt_iou
< br > < br >
# smooth_BCE
---
:::ultralytics.yolo.utils.metrics.smooth_BCE
< br > < br >
# smooth
---
:::ultralytics.yolo.utils.metrics.smooth
< br > < br >
# plot_pr_curve
---
:::ultralytics.yolo.utils.metrics.plot_pr_curve
< br > < br >
# plot_mc_curve
---
:::ultralytics.yolo.utils.metrics.plot_mc_curve
< br > < br >
# compute_ap
---
:::ultralytics.yolo.utils.metrics.compute_ap
< br > < br >
# ap_per_class
---
:::ultralytics.yolo.utils.metrics.ap_per_class
< br > < br >