Skip to content

Instantly share code, notes, and snippets.

@Crazz-Zaac
Created January 2, 2021 08:56
Show Gist options
  • Save Crazz-Zaac/d5e3f31f5299fb2856aa47a42ae634ad to your computer and use it in GitHub Desktop.
Save Crazz-Zaac/d5e3f31f5299fb2856aa47a42ae634ad to your computer and use it in GitHub Desktop.
Creating the model and compiling it
##creating model
happyModel = HappyModel(X_train.shape[1:])
##compiling the model
happyModel.compile('adam', 'binary_crossentropy', metrics=['accuracy'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment