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

     Input: WG: Global Model Weights,

  •  

     NumberOfEpochs: Number of Local Epochs

  •  

     Output: Wi: Client Model Weights

  • 1 

    Receive ClientModel from the ClusterHead

  • 2 

    Receive weights and parameters from the ClusterHead (WG, NumberOfEpochs)

  • 3 

    Train each ClientModel with received weights and parameters

  • 4 

    Wi Get weights from ClientModel

  •  

     // ( Return updated client weights Wi to the ClusterHead for aggregation (

  • 5 

    return Wi