Created
January 22, 2021 00:32
-
-
Save john-adeojo/6f80fc9e56e1c8010613dea8885eb2fb to your computer and use it in GitHub Desktop.
Fitting Sequential NN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fit model1 : sequential NN | |
history = model.fit(X_train, y_train, epochs=30, # Set the number of epochs else Keras defaults to 1 epoch | |
validation_data=(X_valid, y_valid)) # Passing the validation sets enables Keras to measure the loss and accuracy metrics on the validation set |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment