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