Skip to content

fedcodexx/Generalization-of-Federated-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Generalization-of-Federated-Learning

We adopt the code files from the Personalized Federated Learning Platform (https://github.com/TsingZ0/PFL-Non-IID) and make some changes.

The main change is in the file dataset/utils/dataset_utils.py, where we add another type of data distributions called “niidrate”. One can generate different levels of heterogeneity of local datasets by specifying the niidrate. Here is an example of the command line to run it.

python generate_mnist.py noniid - niidrate 0.5

There are also some minor changes. We upload all the changed files here. By replacing the corresponding files in the platform with the changed ones, one can simulate similar results as in the paper.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published