<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fit_predict(self, features, labels):
 """Convenience function that fits a pipeline then predicts on the provided features Parameters features: array-like {n_samples, n_features} Feature matrix labels: array-like {n_samples} List of class labels for prediction Returns array-like: {n_samples} Predicted labels for the provided features """

        self.fit(features, labels)
        return self.predict(features)