Skip to content

Instantly share code, notes, and snippets.

@roboreport
Created June 21, 2019 07:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roboreport/77088058a997efbd1332589a84dd9969 to your computer and use it in GitHub Desktop.
Save roboreport/77088058a997efbd1332589a84dd9969 to your computer and use it in GitHub Desktop.
from sklearn.preprocessing import MinMaxScaler
sc = MinMaxScaler()
train_sc = sc.fit_transform(train)
test_sc = sc.transform(test)
train_sc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment