diff options
| author | ZHENG Yanqin <[email protected]> | 2023-05-25 07:37:53 +0000 |
|---|---|---|
| committer | ZHENG Yanqin <[email protected]> | 2023-05-25 07:37:53 +0000 |
| commit | e9896bd62bb29da00ec00a121374167ad91bfe47 (patch) | |
| tree | d94845574c8ef7473d0204d28b4efd4038035463 /evaluation/template.py | |
| parent | fad9aa875c84b38cbb5a6010e104922b1eea7291 (diff) | |
| parent | 4c5734c624705449c6b21c4b2bc5554e7259fdba (diff) | |
readme
See merge request zyq/time_series_anomaly_detection!1
Diffstat (limited to 'evaluation/template.py')
| -rw-r--r-- | evaluation/template.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/evaluation/template.py b/evaluation/template.py new file mode 100644 index 0000000..bcaf172 --- /dev/null +++ b/evaluation/template.py @@ -0,0 +1,10 @@ + + +def evaluate(y_true: [int], y_pred: [int]) -> float: + """ + 评估方法 + :param y_true: 真实标签 + :param y_pred: 检测标签 + :return: 分数,float类型 + """ + return 0.0 |
