Skip to main content
. 2023 Jun 2;23(11):5276. doi: 10.3390/s23115276
Algorithm 1 Training in the proposed FTDS-1DConvNet Framework
  • 1:

    Initialization: All parameters and hyperparameters.

  • 2:

    Fine-tuning: Pre-trained Inception-ResNet-V2

  • 3:

    for epoch=1 to epoch=MaximumEpoch do

  • 4:

          for iter=1 to iter=MaximumIteration do

  • 5:

                𝒜 FTDS (refer to (6))

  • 6:

                Hidden states calculation: l (refer to (8))

  • 7:

                Output layer calculation: z (refer to (9))

  • 8:

                Probability calculation: y^ (refer to (11))

  • 9:

                Concatenation of the parameters: θ=(W,b)

  • 10:

              Gradients calculation: αv^t+ϵm^t (refer to (14) and (15))

  • 11:

              Parameters update: θθαv^t+ϵm^t

  • 12:

        end for

  • 13:

    end for