tangent_works.Forecasting
class tangent_works.Forecasting(time_series=None, configuration=None, type=ForecastingType.FORECASTING)
A class used to build forecasting models and make forecasts.
Parameters
time_series : TimeSeries, optional
Time series data used for building the model and forecasting.
configuration : Dict[str, Any], optional
Configuration for building the model.
type : str or ForecastingType, optional
Type of forecasting model to build (Forecasting or Normal-behavior, default is Forecasting).
Attributes
result_table : pd.DataFrame, optional
Forecasting results table (is None when forecast method was not called or new model was built).
rca_table : pd.DataFrame, optional
Root cause analysis table (is None when rca method was not called or new model was built).
time_series : TimeSeries, optional
Time series data used for building the model and forecasting.
configuration : BuildConfiguration
Configuration for building the model.
model : ForecastingModel, optional
Forecasting model (is None when build_model method was not called).
Methods
from_model(model):
Creates a Forecasting object from existing model.
build_model(inplace):
Builds a forecasting model.
forecast(configuration, time_series, inplace):
Makes a forecast.
rca(configuration, time_series, inplace):
Performs root cause analysis.