Skip to content

Commit 3245007

Browse files
author
Matt Sokoloff
committed
increase scalar metric value limit
1 parent 5e670e5 commit 3245007

File tree

1 file changed

+3
-1
lines changed
  • labelbox/data/annotation_types/metrics

1 file changed

+3
-1
lines changed

labelbox/data/annotation_types/metrics/scalar.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from .base import ConfidenceValue, BaseMetric
77

8-
ScalarMetricValue = confloat(ge=0, le=10_000)
8+
ScalarMetricValue = confloat(ge=0, le=10_000_000)
99
ScalarMetricConfidenceValue = Dict[ConfidenceValue, ScalarMetricValue]
1010

1111

@@ -16,6 +16,8 @@ class ScalarMetricAggregation(Enum):
1616
SUM = "SUM"
1717

1818

19+
20+
1921
class ScalarMetric(BaseMetric):
2022
""" Class representing scalar metrics
2123

0 commit comments

Comments
 (0)