Get startedGet started for free

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.

This exercise is part of the course

Image Modeling with Keras

View Course

Exercise instructions

  • 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).

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Evaluate the model on separate test data
____
Edit and Run Code