Multiple Choice
Which of the following statements a) , b) or c) is false?
A) Calling our MNIST cnn model's predict method as shown below predicts the classes of the digit images in its argument array (X_test) :
Predictions = cnn.predict(X_test)
B) You can check what the first sample digit should be by looking at y_test[0]:
[42]: y_test[0]
[42]: array([0., 0., 0., 0., 0., 0., 0., 1., 0., 0.], dtype=float32)
The one-hot encoding in the preceding output shows that the first sample is the digit 7.
C) The following code outputs the probabilities returned by the predict method for the first test sample:
[43]: for index, probability in enumerate(predictions[0]) :
Print(f'{index}: {probability:.10%}')
0: 0.0000000201%
1: 0.0000001355%
2: 0.0000186951%
3: 0.0000015494%
4: 0.0000000003%
5: 0.0000000012%
6: 0.0000000000%
7: 99.9999761581%
8: 0.0000005577%
9: 0.0000011416%
According to the preceding output, predictions[0] indicates that our cnn model believes this digit is a 7 with nearly 100% certainty. Not all predictions have this level of certainty.
D) All of the above statements are true.
Correct Answer:

Verified
Correct Answer:
Verified
Q45: Which of the following statements a), b)
Q46: Which of the following statements a), b)
Q47: Which of the following statements a), b)
Q48: A typical convolutional neural network consists of
Q49: Which of the following statements a), b)
Q51: A tensor's _ typically is represented in
Q52: Which of the following statements is false?<br>A)
Q53: Which of the following statements a), b)
Q54: Which of the following statements a), b)
Q55: Chollet discusses the types of tensors