Update 03-ad.md

This commit is contained in:
Haojun Liao 2024-11-13 14:12:36 +08:00 committed by GitHub
parent a186a087d9
commit 2bc3635945
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ sidebar_label: "异常检测"
### 输出约定
`execute` 方法执行完成后的返回值是长度与 `self.list` 相同的数组,数组位置 -1 的标识异常值点。
> 例如:对于输入测量值序列 [2, 2, 2, 2, 100] 假设 100 是异常点,那么方法返回的结果数组则为 [1, 1, 1, 1, -1]。
> 例如:对于输入测量值序列 $[2, 2, 2, 2, 100]$ 假设 100 是异常点,那么方法返回的结果数组则为 $[1, 1, 1, 1, -1]$
### 示例代码