Skip to main content
. 2021 Oct 13;21(20):6791. doi: 10.3390/s21206791
Algorithm 2. Proposed federated learning train process.
  •   1:

    Initialize θ0 based on He normal weight initialization method

  •   2:

    g00

  •   3:

    fort1 to T do

  •   4:

          (Clients) θt(l)θt1(l)+gt1

  •   5:

          (Clients) Update gt(l) from the datasets Φtr(l)

  •   6:

          (Clients) Report gt(l) to the server via the backhaul link

  •   7:

          if l=1LH¯l,tF2<ϵ then

  •   8:

             (Server) gtl=1Lwt(l)g¯^t(l) as in (14)

  •   9:

          else

  •   10:

             (Server) gtgt1

  •   11:

          end if

  •   12:

          (Server) Broadcast gt to multi-clients

  •   13:

    end for