Skip to content

Instantly share code, notes, and snippets.

@srishtis
Created October 5, 2018 09:46
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save srishtis/f9e7d58912da5903a55084c6e93c7a69 to your computer and use it in GitHub Desktop.
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