Appendix: Exploring Internal Libraries
In Chapter 4, Federated Learning Server Implementation with Python, and Chapter 5, Federated Learning Client-Side Implementation, both about the implementation of federated learning (FL) systems, internal library functions were given to simplify the explanation of the implementation of the FL server and client functionalities and machine learning (ML) applications. Here, we will talk about those internal libraries, such as the communications handler, data structure handler, and enumeration class definitions, in more detail for you to be able to easily implement the FL systems that work over the internet and on the cloud. Those internal libraries and supporting functions can all be found in the fl_main/lib/util
directory of the provided simple-fl
GitHub repository.
In this appendix, we will provide an overview of the internal library and utilization classes and functions with code samples to achieve their functionalities.
In this chapter...