evalml.pipelines.components.PolynomialDetrender.inverse_transform¶
-
PolynomialDetrender.
inverse_transform
(X, y)[source]¶ Adds back fitted trend to target variable.
- Parameters
X (pd.DataFrame, optional) – Ignored.
y (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 pd.DataFrame, pd.Series