From 9ad0639b8ea7e7968bc02625539dcbe40db242d0 Mon Sep 17 00:00:00 2001 From: Adam Narozniak <51029327+adam-narozniak@users.noreply.github.com> Date: Thu, 16 Nov 2023 13:55:25 +0100 Subject: [PATCH] FDS small docs fix (#2610) --- datasets/doc/source/conf.py | 2 +- datasets/flwr_datasets/federated_dataset.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/datasets/doc/source/conf.py b/datasets/doc/source/conf.py index dad5f9f036a1..4fccaf0ef084 100644 --- a/datasets/doc/source/conf.py +++ b/datasets/doc/source/conf.py @@ -37,7 +37,7 @@ author = "The Flower Authors" # The full version, including alpha/beta/rc tags -release = "0.0.1" +release = "0.0.2" # -- General configuration --------------------------------------------------- diff --git a/datasets/flwr_datasets/federated_dataset.py b/datasets/flwr_datasets/federated_dataset.py index d102df2c9ae6..c40f8cc34857 100644 --- a/datasets/flwr_datasets/federated_dataset.py +++ b/datasets/flwr_datasets/federated_dataset.py @@ -49,8 +49,8 @@ class FederatedDataset: partitioners : Dict[str, Union[Partitioner, int]] A dictionary mapping the Dataset split (a `str`) to a `Partitioner` or an `int` (representing the number of IID partitions that this split should be partitioned - into). One or multiple `Partitioner`s can be specified in that manner, but at - most, one per split. + into). One or multiple `Partitioner` objects can be specified in that manner, + but at most, one per split. shuffle : bool Whether to randomize the order of samples. Applied prior to resplitting, speratelly to each of the present splits in the dataset. It uses the `seed`