Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created September 29, 2020 09:36
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 amankharwal/70a2ce69d1e66201f96aa7f63da88ad1 to your computer and use it in GitHub Desktop.
Save amankharwal/70a2ce69d1e66201f96aa7f63da88ad1 to your computer and use it in GitHub Desktop.
scalar = StandardScaler()
scalar.fit(x_train)
x_train = scalar.transform(x_train)
x_test = scalar.transform(x_test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment