Skip to content

Instantly share code, notes, and snippets.

@gabriel19913
Created November 25, 2019 14:26
Show Gist options
  • Save gabriel19913/a4192f76d7bb8634a0bfc3a296223c3d to your computer and use it in GitHub Desktop.
Save gabriel19913/a4192f76d7bb8634a0bfc3a296223c3d to your computer and use it in GitHub Desktop.
from sklearn.preprocessing import StandardScaler
scaler = StandardScaler()
scaled_X = scaler.fit_transform(X)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment