The examples can be executed by using docker-compose.
- Install Docker
- Install Docker-Compose
- Run
sudo docker-compose up
orsudo docker-compose up -d
- For a better visualization, execute
sudo docker logs <container-name> -f
to each client and server.
The first example is about a simple implementation using Federated Averaging Algorithm to improve the global model and then, the client's model as well.
You can increase the number of clients, change the MLP's structure and another configurations, testing to what extent the model can improve.