D ∈ {X, y}: dataset |
f: model |
nfolds: folds for K-fold partitioning |
λ: enhancement step size |
for k = 1 : nfolds do |
Establish Dtr, Dheld-out |
Train f |
g ← ∇xA where A = L(f, x) or DF(f, x) |
Xheld-out ← Xheld-out − λg |
end for |
D ∈ {X, y}: dataset |
f: model |
nfolds: folds for K-fold partitioning |
λ: enhancement step size |
for k = 1 : nfolds do |
Establish Dtr, Dheld-out |
Train f |
g ← ∇xA where A = L(f, x) or DF(f, x) |
Xheld-out ← Xheld-out − λg |
end for |