API 参考
滞后变换
module coreforecast.lag_transforms
全局变量
- TYPE_CHECKING
class Lag
简单滞后算子
参数
lag
(int): 偏移的周期数
method __init__
method stack
method take
method transform
method update
class RollingMean
滚动均值
参数
lag
(int): 在应用变换前偏移的周期数。window_size
(int): 滚动窗口的长度。min_samples
(int, 可选): 计算统计量所需的最小样本数。如果为 None,默认为 window_size。
method __init__
method stack
method take
method transform
method update
class RollingStd
滚动标准差
参数
lag
(int): 在应用变换前偏移的周期数。window_size
(int): 滚动窗口的长度。min_samples
(int, 可选): 计算统计量所需的最小样本数。如果为 None,默认为 window_size。
method __init__
method stack
method take
method transform
method update
class RollingMin
滚动最小值
参数
lag
(int): 在应用变换前偏移的周期数。window_size
(int): 滚动窗口的长度。min_samples
(int, 可选): 计算统计量所需的最小样本数。如果为 None,默认为 window_size。
method __init__
method stack
method take
method transform
method update
class RollingMax
滚动最大值
参数
lag
(int): 在应用变换前偏移的周期数。window_size
(int): 滚动窗口的长度。min_samples
(int, 可选): 计算统计量所需的最小样本数。如果为 None,默认为 window_size。
method __init__
method stack
method take
method transform
method update
class RollingQuantile
滚动分位数
参数
lag
(int): 在应用变换前偏移的周期数p
(float): 要计算的分位数window_size
(int): 滚动窗口的长度min_samples
(int, 可选): 计算统计量所需的最小样本数。如果为 None,默认为 window_size。
method __init__
method stack
method take
method transform
method update
class SeasonalRollingMean
季节性滚动均值
参数
lag
(int): 在应用变换前偏移的周期数season_length
(int): 季节性周期的长度,例如周数据的长度为 7window_size
(int): 滚动窗口的长度min_samples
(int, 可选): 计算统计量所需的最小样本数。如果为 None,默认为 window_size。
method __init__
method stack
method take
method transform
method update
class SeasonalRollingStd
季节性滚动标准差
参数
lag
(int): 在应用变换前偏移的周期数season_length
(int): 季节性周期的长度,例如周数据的长度为 7window_size
(int): 滚动窗口的长度min_samples
(int, 可选): 计算统计量所需的最小样本数。如果为 None,默认为 window_size。
method __init__
method stack
method take
method transform
method update
class SeasonalRollingMin
季节性滚动最小值
参数
lag
(int): 在应用变换前偏移的周期数season_length
(int): 季节性周期的长度,例如周数据的长度为 7window_size
(int): 滚动窗口的长度min_samples
(int, 可选): 计算统计量所需的最小样本数。如果为 None,默认为 window_size。
method __init__
method stack
method take
method transform
method update
class SeasonalRollingMax
季节性滚动最大值
参数
lag
(int): 在应用变换前偏移的周期数season_length
(int): 季节性周期的长度,例如周数据的长度为 7window_size
(int): 滚动窗口的长度min_samples
(int, 可选): 计算统计量所需的最小样本数。如果为 None,默认为 window_size。
method __init__
method stack
method take
method transform
method update
class SeasonalRollingQuantile
季节性滚动统计量
参数
lag
(int): 在应用变换前偏移的周期数p
(float): 要计算的分位数season_length
(int): 季节性周期的长度,例如周数据的长度为 7window_size
(int): 滚动窗口的长度min_samples
(int, 可选): 计算统计量所需的最小样本数。如果为 None,默认为 window_size。
method __init__
method stack
method take
method transform
method update
class ExpandingMean
扩展均值
参数
lag
(int): 在应用变换前偏移的周期数
method __init__
method stack
method take
method transform
method update
class ExpandingStd
扩展标准差
参数
lag
(int): 在应用变换前偏移的周期数
method __init__
method stack
method take
method transform
method update
class ExpandingMin
扩展最小值
参数
lag
(int): 在应用变换前偏移的周期数
method __init__
method stack
method take
method transform
method update
class ExpandingMax
扩展最大值
参数
lag
(int): 在应用变换前偏移的周期数
method __init__
method stack
method take
method transform
method update
class ExpandingQuantile
扩展分位数
参数: lag (int): 在应用变换前偏移的周期数 p (float): 要计算的分位数
method __init__
method stack
method take
method transform
method update
class ExponentiallyWeightedMean
指数加权均值
参数
lag
(int): 在应用变换前偏移的周期数alpha
(float): 平滑因子
method __init__
method stack
method take
method transform
method update
此文件由 lazydocs 自动生成。