Created
October 5, 2018 09:46
-
-
Save srishtis/f9e7d58912da5903a55084c6e93c7a69 to your computer and use it in GitHub Desktop.
Scale all X columns of iris data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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