Skip to content

Instantly share code, notes, and snippets.

@roboreport
Created October 19, 2019 15:21
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 roboreport/859954b4c29bdfc1741b8f5d0c755898 to your computer and use it in GitHub Desktop.
Save roboreport/859954b4c29bdfc1741b8f5d0c755898 to your computer and use it in GitHub Desktop.
early_stop = EarlyStopping(monitor='loss', patience=1, verbose=1)
model.fit(X_train_t, y_train, epochs=100,
batch_size=30, verbose=1, callbacks=[early_stop])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment