Last active
December 19, 2018 16:32
-
-
Save RyotaBannai/849e2ae1a2b404a3f04d751b1224a2f6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rng = np.random.RandomState(1) | |
X_raw = np.dot(rng.rand(2, 2), rng.randn(2, 200)).T | |
X_mean = X_raw.mean(axis=0) | |
X -= X_mean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment