mollyolzinski / Federated-Learning

Neurohackademy 2024 Federated Learning repository
MIT License
0 stars 0 forks source link

Go through the tutorial as a group #1

Closed michellewang closed 2 months ago

michellewang commented 2 months ago

https://flower.ai/docs/framework/tutorial-quickstart-scikitlearn.html

Flower Server

emmajanecorley commented 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.