Created
January 16, 2017 15:16
-
-
Save jcbozonier/742ccbc3dfb9db66fd3adfd9c047ffdd to your computer and use it in GitHub Desktop.
Scaling log transformed numbers
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
tiny_numbers = np.array([-19285006, -19275006, -19275003, -19275002, -19275001]) | |
scaled = tiny_numbers - np.max(tiny_numbers) | |
print(scaled) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment