Back to models
Param Estimator

ParamFitterPipeline

Pipeline of transformers and a parameter estimator.

Quickstart

python
from sktime.param_est.compose import ParamFitterPipeline

estimator = ParamFitterPipeline(param_est, transformers)

Parameters(2)

param_estparameter estimator, i.e., estimator inheriting from BaseParamFitter

this is a “blueprint” estimator, state does not change when fit is called

transformerslist of sktime transformers, or

list of tuples (str, transformer) of sktime transformers these are “blueprint” transformers, states do not change when fit is called

Examples

>>> from sktime.param_est.compose import ParamFitterPipeline
>>> from sktime.param_est.seasonality import SeasonalityACF
>>> from sktime.transformations.difference import Differencer
>>> from sktime.datasets import load_airline
>>> 
>>> X = load_airline ()
>>> pipe = ParamFitterPipeline (SeasonalityACF (), [Differencer ()])
>>> pipe. fit (X) ParamFitterPipeline(
... )
>>> pipe. get_fitted_params ()["sp" ] 12 Alternative construction via dunder method:
>>> pipe = Differencer () * SeasonalityACF ()