Skip to content

Commit 73c4127

Browse files
authored
Update confusion_matrix.py
1 parent 8efb3d9 commit 73c4127

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labelbox/data/metrics/confusion_matrix/confusion_matrix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def confusion_matrix_metric(ground_truths: List[Union[
1616
ObjectAnnotation, ClassificationAnnotation]],
1717
predictions: List[Union[ObjectAnnotation,
1818
ClassificationAnnotation]],
19-
include_subclasses=True,
19+
include_subclasses=False,
2020
iou=0.5) -> List[ConfusionMatrixMetric]:
2121
"""
2222
Computes confusion matrix metrics between two sets of annotations.
@@ -47,7 +47,7 @@ def confusion_matrix_metric(ground_truths: List[Union[
4747
def feature_confusion_matrix_metric(
4848
ground_truths: List[Union[ObjectAnnotation, ClassificationAnnotation]],
4949
predictions: List[Union[ObjectAnnotation, ClassificationAnnotation]],
50-
include_subclasses=True,
50+
include_subclasses=False,
5151
iou: float = 0.5,
5252
) -> List[ConfusionMatrixMetric]:
5353
"""

0 commit comments

Comments
 (0)