Skip to content

Commit de52e1d

Browse files
aryanpolaMatthewMiddlehurstSebastianSchmidl
authored
[ENH] Replace prts metrics (aeon-toolkit#2400)
* Pre-commit fixes * Position parameter in calculate_bias * Added recall metric * merged into into one file * test added * Changes in test and range_metrics * list of list running but error! * flattening lists, all cases passed * Empty-Commit * changes * Protected functions * Changes in documentation * Changed test cases into seperate functions * test cases added and added range recall * udf_gamma removed from precision * changes * more changes * recommended changes * changes * Added Parameters * removed udf_gamma from precision * Added binary to range * error fixing * test comparing prts and range_metrics * Beta parameter added in fscore * Added udf_gamma function * f-score failing when comparing against prts * fixed f-score output * alpha usage * Empty-Commit * added test case to use range-based input for metrics * soft dependency added * doc update --------- Co-authored-by: Matthew Middlehurst <pfm15hbu@gmail.com> Co-authored-by: Sebastian Schmidl <10573700+SebastianSchmidl@users.noreply.github.com>
1 parent 93d5079 commit de52e1d

File tree

3 files changed

+1066
-0
lines changed

3 files changed

+1066
-0
lines changed

aeon/benchmarking/metrics/anomaly_detection/__init__.py

+8
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"range_pr_auc_score",
1515
"range_pr_vus_score",
1616
"range_roc_vus_score",
17+
"ts_precision",
18+
"ts_recall",
19+
"ts_fscore",
1720
]
1821

1922
from aeon.benchmarking.metrics.anomaly_detection._binary import (
@@ -35,3 +38,8 @@
3538
range_roc_auc_score,
3639
range_roc_vus_score,
3740
)
41+
from aeon.benchmarking.metrics.anomaly_detection.range_metrics import (
42+
ts_fscore,
43+
ts_precision,
44+
ts_recall,
45+
)

0 commit comments

Comments
 (0)