This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zyq-time-series-anomaly-det…/evaluation/template.py
2023-05-25 15:30:02 +08:00

11 lines
201 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

def evaluate(y_true: [int], y_pred: [int]) -> float:
"""
评估方法
:param y_true: 真实标签
:param y_pred: 检测标签
:return: 分数float类型
"""
return 0.0