MulaiMulai sekarang secara gratis

Evaluating a CNN with test data

To evaluate a trained neural network, you should provide a separate testing data set of labeled images. The model you fit in the previous exercise is available in your workspace.

Latihan ini adalah bagian dari kursus

Image Modeling with Keras

Lihat Kursus

Petunjuk latihan

  • Evaluate the data on a separate test set: test_data and test_labels.
  • Use the same batch size that was used for fitting (10 images per batch).

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Evaluate the model on separate test data
____
Edit dan Jalankan Kode