Skip to main content
. 2022 Dec 2;22(23):9404. doi: 10.3390/s22239404
Algorithm 1 Cloud-Based Retraining Algorithm
  •  1:

    Given a classification task with C categories.

  • Input: 

    Source features fsi and some uploaded features fti.

  •  2:

    Perform data augmentation on fti and obtain fnew_ti. Use a portion of fsi and fnew_ti as the training set Xretrain to train a teacher model.

  •  3:

    for each epoch do

  •  3:

     Obtain samples xt with a confidence level higher than γserver.

  •  3:

     Calculate the coral loss LDA.

  •  3:

     Calculate the total loss in Equation (8).

  •  4:

    end for

  •  5:

    Output: A new Teacher model Ms.