Which of the following statements a) , b) or c) is false?
A) Assuming the IMDb training set samples, training set labels, testing set samples and testing set labels are stored in X_train, y_train, X_test, and y_test, respectively, the following code snippets check their dimensions:
[4]: X_train.shape
[4]: (25000,)
[5]: y_train.shape
[5]: (25000,)
[6]: X_test.shape
[6]: (25000,)
[7]: y_test.shape
[7]: (25000,)
B) The arrays y_train and X_test are one-dimensional arrays containing 1s and 0s, indicating whether each review is positive or negative.
C) Based on the outputs from the snippets in Part (a) , X_train and X_test appear to be one-dimensional. However, their elements actually are lists of integers, each representing one review's contents, as shown in the code below:
[8]: %pprint
[8]: Pretty printing has been turned OFF
[9]: X_train[123]
[9]: [1, 307, 5, 1301, 20, 1026, 2511, 87, 2775, 52, 116, 5, 31, 7, 4, 91, 1220, 102, 13, 28, 110, 11, 6, 137, 13, 115, 219, 141, 35, 221, 956, 54, 13, 16, 11, 2714, 61, 322, 423, 12, 38, 76, 59, 1803, 72, 8, 2, 23, 5, 967, 12, 38, 85, 62, 358, 99]
D) All of the above statements are true:
Correct Answer:
Verified
Q64: Which of the following statements is false?
A)
Q65: Which of the following statements is false?
A)
Q66: Which of the following statements a), b)
Q67: Which of the following statements is false?
A)
Q68: Which of the following statements is false?
A)
Q70: A Keras model's _ method returns the
Q71: Which of the following statements about the
Q72: Which of the following statements a), b)
Q73: Which of the following statements a), b)
Q74: Which of the following statements a), b)
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents