-
Book Overview & Buying
-
Table Of Contents
Federated Learning with Python
By :
In this section, we will explain how you can implement the very first version of an aggregator with an FL server system using the actual code examples, which are in server_th.py in the aggregator directory. In this way, you will understand the core functionalities of the FL server system and how they are implemented so that you can further enhance a lot more functionalities on your own. Therefore, we will only cover the important and core functionalities that are critical to conducting a simple FL process. The potential enhancements will be listed in the later section of this chapter, Potential enhancements to the FL server.
server_th.py handles all the aspects of basic functionalities related to the FL server side, so let’s look into that in the following section.
The FL server-side code starts with importing the necessary libraries. In particular, lib.util handles the basic supporting...