Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Normalize basic list data

# Import the whiten function
from scipy.cluster.vq import whiten

goals_for = [4,3,2,3,1,1,2,0,1,4]

# Use the whiten() function to standardize the data
scaled_data = whiten(goals_for)
print(scaled_data)
Source by campus.datacamp.com #
 
PREVIOUS NEXT
Tagged: #Normalize #basic #list #data
ADD COMMENT
Topic
Name
7+1 =