Skip to main content
. 2023 Apr 28;25(5):733. doi: 10.3390/e25050733
Algorithm 1 Residual Driven Target Propagation (RDTP)
Input: training set D={(xj,y^j)j=1N}, the network N, the output layer i+1
Output: the propagated targets at layer i. For N, layer i corresponds to the single hidden layer.
  •   1:

    for j=1 to N do

  •   2:

        yjFi+1(xj)

  •   3:

        yz,jy^jyj

  •   4:

        a˜z,jσi+11(yz,j)

  •   5:

        for u=1 to di do

  •   6:

            ru(i)(xj)=σi(au)s=1dσi(as)

  •   7:

            zu(i)=ru(i)a˜zwu(i+1)

  •   8:

            hu(i)=σi(au)

  •   9:

            h^u(i)=hu(i)+zu(i)

  • 10:

        end for

  • 11:

        h^i,j=(h^1(i),...,h^di(i))

  • 12:

    end for