Add example images for metrics

This commit is contained in:
LinasKo 2024-11-07 20:58:18 +02:00
parent 2084f57d76
commit 4ed05e76fd
4 changed files with 16 additions and 0 deletions

View File

@ -51,6 +51,10 @@ class F1Score(Metric):
print(f1_result.f1_50)
print(f1_result.small_objects.f1_50)
```
![example_plot](\
https://media.roboflow.com/supervision-docs/metrics/f1_plot_example.png\
){ align=center width="800" }
"""
def __init__(

View File

@ -46,6 +46,10 @@ class MeanAveragePrecision(Metric):
print(map_result.map50_95)
map_result.plot()
```
![example_plot](\
https://media.roboflow.com/supervision-docs/metrics/mAP_plot_example.png\
){ align=center width="800" }
"""
def __init__(

View File

@ -54,6 +54,10 @@ class Precision(Metric):
print(precision_result.precision_at_50)
print(precision_result.small_objects.precision_at_50)
```
![example_plot](\
https://media.roboflow.com/supervision-docs/metrics/precision_plot_example.png\
){ align=center width="800" }
"""
def __init__(

View File

@ -54,6 +54,10 @@ class Recall(Metric):
print(recall_result.recall_at_50)
print(recall_result.small_objects.recall_at_50)
```
![example_plot](\
https://media.roboflow.com/supervision-docs/metrics/recall_plot_example.png\
){ align=center width="800" }
"""
def __init__(