Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy scale array

a = np.array([]) # Your values
np.interp(a, (a.min(), a.max()), (-1, +1))
 
PREVIOUS NEXT
Tagged: #numpy #scale #array
ADD COMMENT
Topic
Name
3+8 =