if X.shape[1] != self.X_.shape[1]:
            raise ValueError("number of features does not match")