Skala dalam Numpy

abs_max = np.amax(np.abs(unnormalized_array))
normalized_array = unnormalized_array * (4.0 / abs_max)
Jittery Jellyfish