Skip to main content
. 2020 Mar 30;20(7):1932. doi: 10.3390/s20071932
Algorithm 3 ANNOTATE
Input:x, E, semi-label L, Uth
Output: label
  • 1:

    u100

  • 2:

    for all On-demand expert eiE do

  • 3:

    LMAJORITYVOTE(x)

  • 4:

    uMINUNCERTAINTY(ei,L) in labeling x

  • 5:

    end for

  • 6:

    whileu>Uth(L)do

  • 7:

    EconfØ, CconfØ

  • 8:

    for all perfect or imperfect expert eiE do

  • 9:

      if Ui(L)uth then

  • 10:

       add ei to the Econf /*confident experts*/

  • 11:

       add cost(ei) to Cconf /*cost of experts*/

  • 12:

      end if

  • 13:

    end for

  • 14:

    expertargmineiEconfCconf

  • 15:

    L label from expert for instance x

  • 16:

    u uncertainty of expert in labeling x

  • 17:

    end while

  • 18:

    L