evalml.pipelines.components.PolynomialDetrender.transform¶
-
PolynomialDetrender.
transform
(X, y=None)[source]¶ Removes fitted trend from target variable.
- Parameters
X (pd.DataFrame, optional) – Ignored.
y (pd.Series) – Target variable to detrend.
- Returns
- The input features are returned without modification. The target
variable y is detrended
- Return type
tuple of pd.DataFrame, pd.Series