API Reference
Lag transforms
module coreforecast.lag_transforms
Global Variables
- TYPE_CHECKING
class Lag
Simple lag operator
Args:
lag
(int): Number of periods to offset
method __init__
method stack
method take
method transform
method update
class RollingMean
Rolling Mean
Args:
lag
(int): Number of periods to offset by before applying the transformation.window_size
(int): Length of the rolling window.min_samples
(int, optional): Minimum number of samples required to compute the statistic. If None, defaults to window_size.
method __init__
method stack
method take
method transform
method update
class RollingStd
Rolling Standard Deviation
Args:
lag
(int): Number of periods to offset by before applying the transformation.window_size
(int): Length of the rolling window.min_samples
(int, optional): Minimum number of samples required to compute the statistic. If None, defaults to window_size.
method __init__
method stack
method take
method transform
method update
class RollingMin
Rolling Minimum
Args:
lag
(int): Number of periods to offset by before applying the transformation.window_size
(int): Length of the rolling window.min_samples
(int, optional): Minimum number of samples required to compute the statistic. If None, defaults to window_size.
method __init__
method stack
method take
method transform
method update
class RollingMax
Rolling Maximum
Args:
lag
(int): Number of periods to offset by before applying the transformation.window_size
(int): Length of the rolling window.min_samples
(int, optional): Minimum number of samples required to compute the statistic. If None, defaults to window_size.
method __init__
method stack
method take
method transform
method update
class RollingQuantile
Rolling quantile
Args:
lag
(int): Number of periods to offset by before applying the transformationp
(float): Quantile to computewindow_size
(int): Length of the rolling windowmin_samples
(int, optional): Minimum number of samples required to compute the statistic. If None, defaults to window_size.
method __init__
method stack
method take
method transform
method update
class SeasonalRollingMean
Seasonal rolling Mean
Args:
lag
(int): Number of periods to offset by before applying the transformationseason_length
(int): Length of the seasonal period, e.g. 7 for weekly datawindow_size
(int): Length of the rolling windowmin_samples
(int, optional): Minimum number of samples required to compute the statistic. If None, defaults to window_size.
method __init__
method stack
method take
method transform
method update
class SeasonalRollingStd
Seasonal rolling Standard Deviation
Args:
lag
(int): Number of periods to offset by before applying the transformationseason_length
(int): Length of the seasonal period, e.g. 7 for weekly datawindow_size
(int): Length of the rolling windowmin_samples
(int, optional): Minimum number of samples required to compute the statistic. If None, defaults to window_size.
method __init__
method stack
method take
method transform
method update
class SeasonalRollingMin
Seasonal rolling Minimum
Args:
lag
(int): Number of periods to offset by before applying the transformationseason_length
(int): Length of the seasonal period, e.g. 7 for weekly datawindow_size
(int): Length of the rolling windowmin_samples
(int, optional): Minimum number of samples required to compute the statistic. If None, defaults to window_size.
method __init__
method stack
method take
method transform
method update
class SeasonalRollingMax
Seasonal rolling Maximum
Args:
lag
(int): Number of periods to offset by before applying the transformationseason_length
(int): Length of the seasonal period, e.g. 7 for weekly datawindow_size
(int): Length of the rolling windowmin_samples
(int, optional): Minimum number of samples required to compute the statistic. If None, defaults to window_size.
method __init__
method stack
method take
method transform
method update
class SeasonalRollingQuantile
Seasonal rolling statistic
Args:
lag
(int): Number of periods to offset by before applying the transformationp
(float): Quantile to computeseason_length
(int): Length of the seasonal period, e.g. 7 for weekly datawindow_size
(int): Length of the rolling windowmin_samples
(int, optional): Minimum number of samples required to compute the statistic. If None, defaults to window_size.
method __init__
method stack
method take
method transform
method update
class ExpandingMean
Expanding Mean
Args:
lag
(int): Number of periods to offset by before applying the transformation
method __init__
method stack
method take
method transform
method update
class ExpandingStd
Expanding Standard Deviation
Args:
lag
(int): Number of periods to offset by before applying the transformation
method __init__
method stack
method take
method transform
method update
class ExpandingMin
Expanding Minimum
Args:
lag
(int): Number of periods to offset by before applying the transformation
method __init__
method stack
method take
method transform
method update
class ExpandingMax
Expanding Maximum
Args:
lag
(int): Number of periods to offset by before applying the transformation
method __init__
method stack
method take
method transform
method update
class ExpandingQuantile
Expanding quantile
Args: lag (int): Number of periods to offset by before applying the transformation p (float): Quantile to compute
method __init__
method stack
method take
method transform
method update
class ExponentiallyWeightedMean
Exponentially weighted mean
Args:
lag
(int): Number of periods to offset by before applying the transformationalpha
(float): Smoothing factor
method __init__
method stack
method take
method transform
method update
This file was automatically generated via lazydocs.