Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- early_stop = EarlyStopping(monitor='val_loss', patience=2, verbose=1)
- deep_history = deep_model.fit(X_train, y_train, epochs=30, validation_split=0.2,
- callbacks=[early_stop])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement