Skip to main content
. 2022 Dec 28;13(1):95. doi: 10.3390/diagnostics13010095
Algorithm 3. Working principles of structural risk minimization.
input; image data—{(a1, b1)…, (at, bt)}, f(a)-function, E(f) = expected risk function,
generate expected risk function
E(f) = Qb,fadqa,b
for unknown problem
          find empirical risk function
          E(f) ← Eemp(f)
          Eemp(f) = 1/tk=1tQbk,fak
          for nonnegative set
                     if (0 ≤ Q (b, f(a)) ≤ Y)
                               P ← 1− η
                               else if (Q (b, f(a)) ≤ Y)
                                E(f) Eemp(f) + Yζ2(1+4Eemp fYζ)
                      end if
                      ζ ← 2(ln n-ln η)/L
                     if L/d large
                               Eemp(f) ← small
                               E(f) ← small
                      end if
          end for
end for
return, minimization of structural risk