Metamorphic testing · Question 41 of 60

An image classifier has correctly identified a photo as "cat". Which follow-up test cases result from an invariance relation?

2 answers are correct. Hard

Show answer

Answer

  • B Classify the photo again with slight noise added; "cat" is expected again
  • D Classify the photo again slightly brightened; "cat" is expected again

Explanation

Invariance means that outputs remain stable under perturbations of the input. Follow-up test cases with slightly changed inputs whose expected result is the same are derived from the passed source test case. A photo of a dog is not a perturbation of the source case, and an increasing confidence does not follow from any invariance relation.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications