What do you want to save?
Add Code snippet
New code examples
-
Python 2022-01-22 00:20:14
The function scale provides a quick and easy way to perform
# Standardization from sklearn import preprocessing import numpy as np X_train = np.array([[1., -1., 2.], [2., 0., 0.], [0., 1., -1.]]) X_scaled = preprocessing.scale(X_train) X_scaled # array([[ 0. ..., -1.22...... Add solution
Best helpers
Ranking is empty