In some scenarios, we might be interested in estimating the series decomposition using components from a particular model. One of such scenarios is anomaly detection. This task proposes a new transform ModelDecomposeTransform, that will provide the ability of series decomposition in the pipeline.
Plan
Proposed transform should work only with in-sample data.
🚀 Task description
In some scenarios, we might be interested in estimating the series decomposition using components from a particular model. One of such scenarios is anomaly detection. This task proposes a new transform
ModelDecomposeTransform
, that will provide the ability of series decomposition in the pipeline.Plan
Proposed transform should work only with in-sample data.
Implement the following interface:
__init__
- check inintial conditions and initialize object.model
- model, that will be used for estimation decompositionin_column
- which column will be used for decompositionresiduals
- whether to add column with residuals (e.g.target - sum(components)
)get_regressors_info
- return empty list, since transfrom doesn't produce anyfit
- save timestamp bounds for the training data and fit the modeltransform
:nan
for timestamps in futureTest cases
IForestOutlierTransform
)pipelin.forecast
,pipeline.predict
with components and intervals)backtest
works as expectedAdditional context
No response