Closed michellewang closed 2 months ago
Including some notes:
The server coordinates the training process. It sends the initial model parameters to the clients. It collects updated model parameters from clients after they have trained on their local data. It aggregates these updates to improve the global model. It repeats this process for a set number of rounds.
Next is create a client (client.py).
Each client has its own local data and model. It receives initial model parameters from the server. It trains the model on its local data. It sends the updated model parameters back to the server. It also evaluates the model using local test data and reports the results to the server.
https://flower.ai/docs/framework/tutorial-quickstart-scikitlearn.html
Flower Server