code: def predict(self, X):
          
          Xt, _, _ = self._transform(X)
          return self._final_estimator.predict(Xt)
docs: Apply transforms to the data, and predict with the final estimator
  
          Parameters
          ----------
          X : iterable
              Data to predict on. Must fulfill input requirements of first step
              of the pipeline.
  
          Returns
          -------
          yp : array-like
              Predicted transformed target