Skip to content

Instantly share code, notes, and snippets.

@jeetaf
Created June 28, 2021 12:30
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 jeetaf/3e2d901ffa67508609871cd34b160571 to your computer and use it in GitHub Desktop.
Save jeetaf/3e2d901ffa67508609871cd34b160571 to your computer and use it in GitHub Desktop.
def norm(x):
return (x - train_stats['mean']) / train_stats['std']
normed_train_data = norm(train_dataset)
normed_test_data = norm(test_dataset)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment