Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hadrienj/cb0fc554ab91a5be932563866de4c1e7 to your computer and use it in GitHub Desktop.
Save hadrienj/cb0fc554ab91a5be932563866de4c1e7 to your computer and use it in GitHub Desktop.
X_ZCA_rescaled = (X_ZCA - X_ZCA.min()) / (X_ZCA.max() - X_ZCA.min())
print 'min:', X_ZCA_rescaled.min()
print 'max:', X_ZCA_rescaled.max()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment