Skip to content

Commit

Permalink
Merge pull request #1661 from roboflow/feat/mAR-metric
Browse files Browse the repository at this point in the history
Mean Average Recall (mAR) metric
  • Loading branch information
LinasKo authored Nov 7, 2024
2 parents b9b802e + 0bfcdea commit a6e1f03
Show file tree
Hide file tree
Showing 7 changed files with 722 additions and 4 deletions.
1 change: 0 additions & 1 deletion docs/metrics/f1_score.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
comments: true
status: new
---

# F1 Score
Expand Down
1 change: 0 additions & 1 deletion docs/metrics/mean_average_precision.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
comments: true
status: new
---

# Mean Average Precision
Expand Down
18 changes: 18 additions & 0 deletions docs/metrics/mean_average_recall.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
comments: true
status: new
---

# Mean Average Recall

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

:::supervision.metrics.mean_average_recall.MeanAverageRecall

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

:::supervision.metrics.mean_average_recall.MeanAverageRecallResult
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ nav:
- Utils: datasets/utils.md
- Metrics:
- mAP: metrics/mean_average_precision.md
- mAR: metrics/mean_average_recall.md
- Precision: metrics/precision.md
- Recall: metrics/recall.md
- F1 Score: metrics/f1_score.md
Expand Down
4 changes: 4 additions & 0 deletions supervision/metrics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
MeanAveragePrecision,
MeanAveragePrecisionResult,
)
from supervision.metrics.mean_average_recall import (
MeanAverageRecall,
MeanAverageRecallResult,
)
from supervision.metrics.precision import Precision, PrecisionResult
from supervision.metrics.recall import Recall, RecallResult
from supervision.metrics.utils.object_size import (
Expand Down
Loading

0 comments on commit a6e1f03

Please sign in to comment.