Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

standardscaler

# Preprocessing allows us to standarsize our data
from sklearn import preprocessing
# define standard scaler
scaler = StandardScaler()
# transform data
scaled = scaler.fit_transform(data)
Source by machinelearningmastery.com #
 
PREVIOUS NEXT
Tagged: #standardscaler
ADD COMMENT
Topic
Name
2+2 =