Skip to content

Instantly share code, notes, and snippets.

@jcbozonier
Created January 16, 2017 15:16
Show Gist options
  • Save jcbozonier/742ccbc3dfb9db66fd3adfd9c047ffdd to your computer and use it in GitHub Desktop.
Save jcbozonier/742ccbc3dfb9db66fd3adfd9c047ffdd to your computer and use it in GitHub Desktop.
Scaling log transformed numbers
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