-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (68 loc) · 2.22 KB
/
Copy pathpyproject.toml
File metadata and controls
80 lines (68 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "FPLIER"
version = "1.0.0"
description = "A Flower for custom secure sum strategy using SecAggPlus"
license = "Apache-2.0"
dependencies = [
"joblib==1.5.3",
"toml==0.10.2",
"matplotlib==3.10.9",
"seaborn==0.13.2",
"scikit-learn==1.6.1",
"phe==1.5.0",
"pyreadr==0.5.6",
"jupyter==1.1.1",
"ipywidgets==8.1.8",
"ipykernel==7.2.0",
"numpy==1.26.4",
"pandas==2.2.3",
"flwr[simulation]==1.19.0",
"datasets==2.14.4",
"flwr-datasets==0.1.0",
"pyarrow<21.0.0"
]
[tool.hatch.build.targets.wheel]
packages = ["."]
[tool.flwr.app]
publisher = "flwrlabs"
[tool.flwr.app.components]
serverapp = "app.server_app:app"
clientapp = "app.client_app:app"
[tool.flwr.app.config]
# FPLIER algorithm parameters
k = 100 # Number of latent variables
L1 = 10.342283199493819 # L1 penalty parameter
L2 = 20.684566398987638 # L2 penalty parameter
L3 = "null" # L3 penalty parameter
frac = 0.7 # Fraction parameter
max-iter = 120 # Maximum iterations
trace = false # Enable trace
scale = false # Enable scaling
max-path = 10 # Maximum path
do-crossval = true # Perform cross-validation
C-hat = "null" # C_hat parameter or provide path to read matric
penalty-factor = "null" # Penalty factor or provide path to read vector
glm-alpha = 0.9 # GLM alpha parameter
min-genes = 10 # Minimum number of genes
tol = 1e-6 # Tolerance
iter-full-start = 20 # Rounds before early stopping can trigger (matches client iter_full_start)
seed = 12345 # Random seed
all-genes = false # Use all genes
rseed = "null" # Optional random seed
pathway-selection = "complete" # Pathway selection method ("complete" or "fast")
# Secure Aggregation (SecAggPlus) parameters
run-secagg = true # Enable secure aggregation
num-shares = 3 # Number of secret shares
reconstruction-threshold = 2 # Minimum number of shares required for reconstruction
timeout = 30.0 # Timeout duration (seconds)
[tool.flwr.federations]
default = "local-simulation"
[tool.flwr.federations.local-simulation]
options.num-supernodes = 3
[tool.flwr.federations.local-deployment]
address = "127.0.0.1:9093"
#root-certificates = "./certificates/ca.crt"
insecure = true