Skip to main content
. 2025 Feb 9;25(4):1039. doi: 10.3390/s25041039
Algorithm 4: Semi-decentralized FL cluster training.
  •  

     Input: WG: Global Model Weights,

  •  

     NumberOfEpochs: Number of Local Epochs

  •  

     Output: Wj: Cluster Model Weights

  • 1 

    Receive ClusterModel from the server

  • 2 

    Receive initial weights and parameters from the server

  • 3 

    Send ClusterModel, weights, and parameters to the clients

  • 4 

    Wi += Get model weights from clients

  •  

     // ( Average the received client weights within the same cluster

  • 5 

    ( WjAverage(Wi)

  • 6 

    return Wj