All quizzes
Free quiz · 50 questions in the bank

Keras quiz

Test your Keras knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What is the role of the optimizer in model.compile()?

In this round
  1. What is the role of the optimizer in model.compile()?
  2. What is a common sign of overfitting when looking at training curves?
  3. What does the validation_split argument to model.fit() do?
  4. What does keras.Input(shape=(784,)) define?
  5. What kind of model architecture is the Sequential API best suited for?
  6. What is the difference between categorical_crossentropy and sparse_categorical_crossentropy?
  7. What is the purpose of the training argument seen in some Keras layers' call signatures (e.g. Dropout, BatchNormalization)?
  8. Why is softmax commonly used as the activation on a multi-class classification model's final layer?
  9. What does layers.Embedding do?
  10. What does the Dense layer represent?
  11. What happens when you call model(x, training=False) directly instead of using model.predict(x)?
  12. What is Keras?
Gaps to close?
Read the curated Keras notes — core concepts, patterns, interview prep.
Keras notes

More quizzes

.NETAccessibilityAgile MethodologyAlertmanagerAlgorithmsAndroid