Skip to main content
. 2023 Nov 26;23(23):9427. doi: 10.3390/s23239427
Algorithm 1 Adaptive Adjustment Algorithm for Reduction Threshold
  • Input: 

    current threshold emax, threshold minimum errormin, threshold maxmum errormax

  •   1:

    while True do

  •   2:

        Call the CUSUM algorithm to determine if concept drift has occurred

  •   3:

        if Concept drift occurs then

  •   4:

            if emax > errormin then

  •   5:

               Lower the current threshold emax

  •   6:

               if emax < errormin then

  •   7:

                   emax = errormin

  •   8:

        else

  •   9:

            if c < errormax then

  • 10:

               Raise the current threshold emax

  • 11:

               if emax>errormax then

  • 12:

                   emax = errormax