Skip to content

Instantly share code, notes, and snippets.

@AmrutaKoshe
Created July 4, 2021 10:41
Show Gist options
  • Save AmrutaKoshe/85c265f7fc3221451496080c4ad24f34 to your computer and use it in GitHub Desktop.
Save AmrutaKoshe/85c265f7fc3221451496080c4ad24f34 to your computer and use it in GitHub Desktop.
trainx,testx,trainy,testy=train_test_split(data,labels,test_size=0.2,random_state=44)
from tensorflow.keras.utils import normalize
trainx = normalize(trainx)
testx = normalize(testx)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment