promql.holtWinters() 函数
promql.holtWinters() 实现了等效于 PromQL 的 holt_winters() 函数 的功能。
重要提示:internal/promql 包不适合外部使用。
函数类型签名
(
<-tables: stream[{A with _value: float, _time: time}],
?smoothingFactor: float,
?trendFactor: float,
) => stream[{B with _value: float}]
有关更多信息,请参阅 函数类型签名。
参数
tables
输入数据。默认值为管道转发数据 (<-)。
smoothingFactor
指数平滑因子。
trendFactor
趋势因子。
此页内容是否对您有帮助?
感谢您的反馈!