Skip to content

Commit 37c33e2

Browse files
ENH: Expose utility functions in metrics/__init__.py
1 parent b58f480 commit 37c33e2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

orca_python/metrics/__init__.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@
1515
tkendall,
1616
wkappa,
1717
)
18-
from .utils import get_metric_names, greater_is_better
18+
from .utils import (
19+
compute_metric,
20+
get_metric_names,
21+
greater_is_better,
22+
load_metric_as_scorer,
23+
)
1924

2025
__all__ = [
2126
"ccr",
@@ -33,4 +38,6 @@
3338
"accuracy_off1",
3439
"get_metric_names",
3540
"greater_is_better",
41+
"load_metric_as_scorer",
42+
"compute_metric",
3643
]

0 commit comments

Comments
 (0)