diff --git a/data/README.md b/data/README.md index 1525251..822b635 100644 --- a/data/README.md +++ b/data/README.md @@ -109,10 +109,13 @@ python generate_data.py -d cifar10 -sm 1 -cn 20 ``` Image -## Flower Partitioner +## Flower Partitioner 🌼 -This benchmark also supports external partitioners provided by [flwr_datasets](https://flower.ai/docs/datasets/), enabling the comparison with built-in partitioning schemes and additional schemese that exist in flwr_datasets. To use flwr partitioners, you need to specify the class path of the partitioner you want to use and all its parameters in a seperate dictionary. This is how you would use the DirichletPartitioner from flwr: -Attention: To use flwr's partitioners, internally a mock dataset is created that has a column called "label". If the partitioning scheme depends on label information, please insert "label" as the label column. +This benchmark also supports external partitioners provided by [flwr_datasets](https://flower.ai/docs/datasets/), enabling the comparison with built-in partitioning schemes and additional schemese that exist in flwr_datasets. To use flwr partitioners, you need to specify the class path of the partitioner you want to use and all its parameters in a seperate dictionary. +> \[!NOTE\] +> To use flwr's partitioners, internally a mock dataset is created that has a column called `label`. If the partitioning scheme depends on label information, please insert `label` as the label column. + +This is how you would use the `DirichletPartitioner` from flwr: ```shell python generate_data.py -d cifar10 -cn 10 -fpc "flwr_datasets.partitioner.DirichletPartitioner" -fpk '{"alpha": 100.0, "partition_by": "label"}' ```