Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

scaling data

# Import scale
from sklearn.preprocessing import scale

# Scale the features: X_scaled
X_scaled = scale(X)
Source by campus.datacamp.com #
 
PREVIOUS NEXT
Tagged: #scaling #data
ADD COMMENT
Topic
Name
8+1 =