From ecf9ff1b95ae13416f337a75177d0e79009caae3 Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 4 Mar 2024 22:15:31 +0000 Subject: [PATCH] Update datasets/flwr_datasets/partitioner/inner_dirichlet_partitioner.py --- .../flwr_datasets/partitioner/inner_dirichlet_partitioner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datasets/flwr_datasets/partitioner/inner_dirichlet_partitioner.py b/datasets/flwr_datasets/partitioner/inner_dirichlet_partitioner.py index bad65a58fa0d..c25a9b059d18 100644 --- a/datasets/flwr_datasets/partitioner/inner_dirichlet_partitioner.py +++ b/datasets/flwr_datasets/partitioner/inner_dirichlet_partitioner.py @@ -45,7 +45,7 @@ class InnerDirichletPartitioner(Partitioner): # pylint: disable=R0902 Column name of the labels (targets) based on which Dirichlet sampling works. alpha : Union[int, float, List[float], NDArrayFloat] Concentration parameter to the Dirichlet distribution (a single value for - symmetric Dirichlet distribution, or a list/NDArray of lenght equal to the + symmetric Dirichlet distribution, or a list/NDArray of length equal to the number of unique classes) shuffle: bool Whether to randomize the order of samples. Shuffling applied after the