Skip to main content
. 2022 May 27;22(11):4084. doi: 10.3390/s22114084
Algorithm 2 Mask application-Attribution.
  • 1:

    Define: x as input, θ as classifier, σ as perturbation function, S as list of scores and N as feature occurrences across all masks M.

  • 2:

    for m=1,,M do

  • 3:

        xmi=σ(x,mi)

  • 4:

        y=θ(xmi)

  • 5:

        Append y to S

  • 6:

    end for

  • 7:

    S=ST×MN

  • 8:

    S=Smin(S)max(Smin(S))