def transform(self, X):
        """Transform your data to zero mean unit variance."""
        if not self.is_fit:
            raise ValueError("The scaler has not been fit yet.")
        return (X-self.mean) / (self.std + 10e-7)
Transform your data to zero mean unit variance.