|
Algorithm 1: Categorize Image Dataset. |
[SETcrc, SETmis, SETadv] = Category (Image dataset, DNN classification results)
Input:
Output: The three categories of image dataset according to DNN model classification and AML results.
Initialize SETcrc, SETmis, SETadv to be all empty
for image CIFAR-100 do
if is mispredict then
SETmis ← x
else
if is correct and AML(x) fail then
SETcrc ← x
else
SETadv ← x
end if
end if
end for
return [SETcrc, SETmis, SETadv]
|