Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Scale all X columns of iris data
from sklearn.preprocessing import StandardScale
# let us now standardize the dataset
iris_X_std = StandardScaler().fit_transform(iris_X)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment