evalml.pipelines.components.PolynomialDetrender

class evalml.pipelines.components.PolynomialDetrender(degree=1, random_seed=0, **kwargs)[source]

Removes trends from time series by fitting a polynomial to the data.

name = 'Polynomial Detrender'
model_family = 'none'
hyperparameter_ranges = {'degree': Integer(low=1, high=3, prior='uniform', transform='identity')}
default_parameters = {'degree': 1}

Instance attributes

needs_fitting

parameters

Returns the parameters which were used to initialize the component

Methods:

__init__

Initialize the PolynomialDetrender.

clone

Constructs a new component with the same parameters and random state.

describe

Describe a component and its parameters

fit

Fits the PolynomialDetrender.

fit_transform

Removes fitted trend from target variable.

inverse_transform

Adds back fitted trend to target variable.

load

Loads component at file path

save

Saves component at file path

transform

Removes fitted trend from target variable.

Class Inheritance

Inheritance diagram of PolynomialDetrender