Update addins.md

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

View File

@ -37,10 +37,10 @@ sidebar_label: "addins"
### 核心方法输入与输出约定
`execute` 是算法处理的核心方法。调用该方法的时候, self.list 已经设置好输入数组。
`execute` 是算法处理的核心方法。调用该方法的时候, `self.list` 已经设置好输入数组。
异常检测输出结果
`execute` 的返回值是长度与 self.list 相同的数组,数组位置为 -1 的即为异常值点。例如:输入数组是 [2, 2, 2, 2, 100] 如果 100 是异常点,那么返回值是 [1, 1, 1, 1, -1]。
`execute` 的返回值是长度与 `self.list` 相同的数组,数组位置为 -1 的即为异常值点。例如:输入数组是 [2, 2, 2, 2, 100] 如果 100 是异常点,那么返回值是 [1, 1, 1, 1, -1]。
预测输出结果
对于预测算法, `AbstractForecastService` 的对象属性说明如下: