def predict(self, X):
if isinstance(X[<NUM_LIT:0>], list):<EOL><INDENT>return [self.estimator.tag(x) for x in X]<EOL><DEDENT>return self.estimator.tag(X)<EOL>
Predict class labels for samples in X.

        Parameters
        ----------
        X : {array-like, sparse matrix}, shape = [n_samples, n_features]
            Samples.