Federated Learning Lab

Projects and Code

Twenty projects and a code library (NumPy, scikit-learn, PyTorch, Keras, Flower, TFF) to copy and download.

  • 29Items

This lab is educational: the simulations are small (simple models and synthetic data or 8×8 digit images) and run in your browser with real computation. Their results do not generalise automatically to production systems, and federated learning alone does not guarantee privacy.

Projects

Code library

FedAvg in NumPy

A complete small implementation that partitions synthetic IID and non-IID data and runs FedAvg, with the 0.6 weight check.

Details