Skip to main content
. 2022 May 27;24(6):759. doi: 10.3390/e24060759
Algorithm 1: GTAD Training Algorithm
Input: Training Dataset X = {x1, …, xM}, The number of epochs R
Output: Trained GTAD
GTAD←initialize weight
epoch←1
repeat
  for t = L to M do
    xtirxtl:t1i← TAD (xt-L:t-1)
     Loss=xtixti+j=tLt1(xjixji)
    GTAD←update weight using Loss
    end for
  epoch←epoch + 1
until epoch = R