def predict(self, T): if self.check_X is not None: assert self.check_X(T) return self.classes_[np.zeros(_num_samples(T), dtype=np.int)]