Skip to content

Instantly share code, notes, and snippets.

@joelouismarino
Last active August 6, 2017 19:42
Show Gist options
  • Save joelouismarino/b7f6645792899f2b08c1b7639578e486 to your computer and use it in GitHub Desktop.
Save joelouismarino/b7f6645792899f2b08c1b7639578e486 to your computer and use it in GitHub Desktop.
import numpy as np
n_samples = 500
mean = 15
std_dev = 5
X = np.random.normal(mean, std_dev, n_samples)
Z = (X - np.mean(X)) / np.std(X)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment