C3W3 - Quiz - Coursera
C3W3 - Quiz - Coursera
Classification allows you to identify similarity between two things while siamese networks allow you to categorize 1 / 1 point
things.
False
True
Correct
Correct.
2. Do the two subnetworks in a siamese network share the same parameters? 1 / 1 point
Yes
No
Correct
Correct.
3. When training a siamese network to identify duplicates, which pairs of questions from the following questions do you 1 / 1 point
expect to have the highest cosine similarity ?
Anchor, Positive
Anchor, Negative
Negative, Positive
Correct
Correct.
4. In the triplet loss function below, will decreasing the hyperparameter alpha from 0.5 to 0.2 require more, or less, 1 / 1 point
optimization during training ?
diff = s(A, N ) − s(A, P )
L(A, P , N ) = max(dif f + α, 0)
Less
More.
Correct
Correct. Alpha is the margin, so the smaller it is the less you have to optimize.
5. The orange square below corresponds to the similarity score of question duplicates? 1 / 1 point
True
False
Correct
Correct. They correspond to non question duplicates.
6. What is the closest negative in this set of numbers assuming a duplicate pair similarity of 0.6? 1 / 1 point
[-0.9,-0.4,0.4, 0.8]
-0.9
-0.4
0.4
0.8
Correct
Correct.
7. In one shot learning, is any retraining required when new classes are added? For example, a new bank customer’s 1 / 1 point
signature.
Yes
No
Correct
Correct.
8. During training, you have to update the weights of each of the subnetworks independently. 1 / 1 point
False.
True.
Correct
Correct. You update the same weight.
9. The mean negative is defined as the closest off-diagonal value to the diagonal in each row (excluding the diagonal). 1 / 1 point
True
False
Correct
Correct.
Correct