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