<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def predict(self, X):
 """ 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 """

        Xt, _, _ = self._transform(X)
        return self._final_estimator.predict(Xt)