Skip to content

Commit

Permalink
fix(baselines) Bump scikit-learn versions to 1.5.0 (#4818)
Browse files Browse the repository at this point in the history
  • Loading branch information
chongshenng authored Jan 16, 2025
1 parent deca846 commit 3db587c
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions baselines/dasha/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ classifiers = [
python = ">=3.10.0, <3.11.0" # don't change this
flwr = { extras = ["simulation"], version = "1.5.0" }
hydra-core = "1.3.2" # don't change this
scikit-learn = "1.3.0"
scikit-learn = "1.5.0"
matplotlib = "3.7.1"
# Installing Torch. TODO: Fix and install the relevant version of Torch based on the current system.
torch = [{ url = "https://download.pytorch.org/whl/cu118/torch-2.0.0%2Bcu118-cp310-cp310-linux_x86_64.whl", markers="sys_platform == 'linux'"},
Expand All @@ -59,7 +59,7 @@ pytest = "==6.2.4"
pytest-watch = "==4.2.0"
types-requests = "==2.27.7"
py-spy = "==0.3.14"
ruff = "==0.0.272"
ruff = "==0.4.5"
virtualenv = "==20.21.0"

[tool.isort]
Expand Down
2 changes: 1 addition & 1 deletion baselines/fedmeta/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ python = ">=3.10.0, <3.11.0"
flwr = { extras = ["simulation"], version = "1.5.0" }
hydra-core = "1.3.2" # don't change this
matplotlib = "3.7.1"
scikit-learn = "1.3.1"
scikit-learn = "1.5.0"
torch = { url = "https://download.pytorch.org/whl/cu117/torch-2.0.1%2Bcu117-cp310-cp310-linux_x86_64.whl" }
torchvision = { url = "https://download.pytorch.org/whl/cu117/torchvision-0.15.2%2Bcu117-cp310-cp310-linux_x86_64.whl" }

Expand Down
6 changes: 3 additions & 3 deletions baselines/fedpft/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ classifiers = [
]

[tool.poetry.dependencies]
python = ">=3.8.15, <3.12.0" # don't change this
python = ">=3.9.0, <3.12.0" # don't change this
flwr = { extras = ["simulation"], version = "1.5.0" }
hydra-core = "1.3.2" # don't change this
torch = {url = "https://download.pytorch.org/whl/cu117/torch-1.13.0%2Bcu117-cp310-cp310-linux_x86_64.whl"}
scikit-learn = "1.2.2"
scikit-learn = "1.5.0"
flwr-datasets = "0.1.0"
torchvision = {url = "https://download.pytorch.org/whl/cu117/torchvision-0.14.0%2Bcu117-cp310-cp310-linux_x86_64.whl"}
transformers = "4.39.3"
Expand All @@ -56,7 +56,7 @@ pylint = "==2.8.2"
flake8 = "==3.9.2"
pytest = "==6.2.4"
pytest-watch = "==4.2.0"
ruff = "==0.0.272"
ruff = "==0.4.5"
types-requests = "==2.27.7"
virtualenv = "==20.21.0"

Expand Down
4 changes: 2 additions & 2 deletions baselines/flanders/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ torchvision = [
{ platform = "linux", url = "https://download.pytorch.org/whl/cu118/torchvision-0.16.1%2Bcu118-cp310-cp310-linux_x86_64.whl" }
]
pandas = "^2.1.3"
scikit-learn = "1.3.2"
scikit-learn = "1.5.0"
ipykernel = "^6.27.1"
natsort = "^8.4.0"
seaborn = "^0.13.0"
Expand All @@ -63,7 +63,7 @@ pylint = "==2.8.2"
flake8 = "==3.9.2"
pytest = "==6.2.4"
pytest-watch = "==4.2.0"
ruff = "==0.0.272"
ruff = "==0.4.5"
types-requests = "==2.27.7"
virtualenv = "20.21.0"

Expand Down
2 changes: 1 addition & 1 deletion baselines/hfedxgboost/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ python = ">=3.10.0, <3.11.0" # don't change this
flwr = { extras = ["simulation"], version = "1.5.0" }
hydra-core = "1.3.2" # don't change this
torch = "2.5.1"
scikit-learn = "1.3.0"
scikit-learn = "1.5.0"
xgboost = "2.0.0"
torchmetrics = "1.1.2"
tqdm = "4.66.3"
Expand Down
4 changes: 2 additions & 2 deletions baselines/moon/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ classifiers = [
python = ">=3.10.0, <3.12.0" # don't change this```
flwr = { extras = ["simulation"], version = "1.5.0" }
hydra-core = "1.3.2" # don't change this
scikit-learn = "1.3.0"
scikit-learn = "1.5.0"
matplotlib = "3.8.0"
torch = { url = "https://download.pytorch.org/whl/cu116/torch-1.12.0%2Bcu116-cp310-cp310-linux_x86_64.whl" }
torchvision = { url = "https://download.pytorch.org/whl/cu116/torchvision-0.13.0%2Bcu116-cp310-cp310-linux_x86_64.whl" }
Expand All @@ -54,7 +54,7 @@ pylint = "==2.8.2"
flake8 = "==3.9.2"
pytest = "==6.2.4"
pytest-watch = "==4.2.0"
ruff = "==0.0.272"
ruff = "==0.4.5"
types-requests = "==2.27.7"
virtualenv = "==20.21.0"

Expand Down
2 changes: 1 addition & 1 deletion baselines/statavg/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ python = ">=3.9.0, <3.12.0" # don't change this
flwr = { extras = ["simulation"], version = "1.6.0" }
hydra-core = "1.3.2" # don't change this
tensorflow = "2.12.1"
scikit-learn = "1.4.0"
scikit-learn = "1.5.0"
joblib = "1.3.2"
pandas = "2.2.0"
imbalanced-learn = "0.12.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/vertical-fl/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ license = "Apache-2.0"
dependencies = [
"flwr[simulation]>=1.14.0",
"flwr-datasets>=0.3.0",
"pandas==2.0.3",
"pandas==2.2.3",
"numpy>=1.26.0",
"scikit-learn==1.3.2",
"scikit-learn==1.5.0",
"torch==2.5.1",
]

Expand Down

0 comments on commit 3db587c

Please sign in to comment.