Overview of the internal libraries for the FL system
Figure A.1 shows the Python code components for the internal libraries found in the lib/util
folder of the fl_main
directory, which is used in the database, aggregator, and agent of the FL system:
Figure A.1 – Python software components for the internal libraries used in the database, aggregator, and agent
The following are brief descriptions of the Python files for the internal libraries found in the lib/util
folder of the FL system.
states.py
The states.py
file in the lib/util
folder defines a variety of enumeration classes to support implementing the FL system. Definitions of the classes include FL client states, types of ML models and messages, and locations of the information and values of various messages.
communication_handler.py
The communication_handler.py
file in the lib/util
folder can provide communication functionalities among the database, FL server, and clients, mainly defining...