---
comments: true
---

# Legacy Metrics

Starting with `0.23.0`, a new metrics module is being introduced to supervision. Metrics here are part of the legacy evaluation API and will be deprecated in the future.

Install the metrics extra before using this page's APIs:

```bash
pip install "supervision[metrics]"
```

<div class="md-typeset">
    <h2><a href="#supervision.metrics.detection.ConfusionMatrix">ConfusionMatrix</a></h2>
</div>

:::supervision.metrics.detection.ConfusionMatrix

<div class="md-typeset">
    <h2><a href="#supervision.metrics.detection.MeanAveragePrecision">MeanAveragePrecision</a></h2>
</div>

:::supervision.metrics.detection.MeanAveragePrecision
