|
Algorithm 3: Adaptive Design Algorithm. |
[k] = Adaptive(DNN classification results, RF classification results)
Input: CIFAR-100(test set), DNN, RF
Output: optimal parameter k for the secondary RF model
for do
Set all the counters to 0
for image x∈ CIFAR-100 do
if then
else
end if
if then
else
end if
if then
else
end if
end for
Objective function
end for
Among all find the minimum
Return the optimal index
|