Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. model.compile(loss='categorical_crossentropy',
  2. optimizer='adam',
  3. metrics=['accuracy'])
  4.  
  5. history = model.fit(x_train, y_train,
  6. batch_size=128,
  7. epochs=10,
  8. validation_data=(x_val, y_val))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement