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
Exercise instructions
- Evaluate the data on a separate test set:
test_dataandtest_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
____