Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

data normalization python

from sklearn import preprocessing
normalizer = preprocessing.Normalizer().fit(X_train)  
X_train = normalizer.transform(X_train)
X_test = normalizer.transform(X_test)
Source by scikit-learn.org #
 
PREVIOUS NEXT
Tagged: #data #normalization #python
ADD COMMENT
Topic
Name
8+8 =