Algorithm 1 Fold generation of SCV (based on Ref. [20]) | |||
Require: k // number of folds | |||
Require: // classes | |||
Ensure: // generated folds | |||
for to n do | |||
if mod k) then | |||
end if | |||
for to k do | |||
randomly select n samples from | |||
\S | |||
end for | |||
end for |
Algorithm 1 Fold generation of SCV (based on Ref. [20]) | |||
Require: k // number of folds | |||
Require: // classes | |||
Ensure: // generated folds | |||
for to n do | |||
if mod k) then | |||
end if | |||
for to k do | |||
randomly select n samples from | |||
\S | |||
end for | |||
end for |