Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. early_stop = EarlyStopping(monitor='val_loss', patience=2, verbose=1)
  2. deep_history = deep_model.fit(X_train, y_train, epochs=30, validation_split=0.2,
  3. callbacks=[early_stop])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement