def _standardize(self, X):

        if self.means is None or self.stds is None:
            raise RuntimeError("Fit model first")

        return (self.means - X) / self.stds
dataset/ETHPy150Open allentran/pca-magic/ppca/_ppca.py/PPCA._standardize/swapped operands of `-`