evalml.pipelines.components.PolynomialDetrender.inverse_transform¶
-
PolynomialDetrender.
inverse_transform
(X, y)[source]¶ Adds back fitted trend to target variable.
- Parameters
X (ww.DataTable, pd.DataFrame, optional) – Ignored.
y (ww.DataColumn, pd.Series) – Target variable.
- Returns
- The first element are the input features returned without modification.
The second element is the target variable y with the trend added back.
- Return type
tuple of ww.DataTable, ww.DataColumn