-
Notifications
You must be signed in to change notification settings - Fork 1
/
hyperparameters.py
65 lines (50 loc) · 1.42 KB
/
hyperparameters.py
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
########################hyperparamter#######################
'''
For each table, the main hyperparamter is C,
C \in [0.1, 0.2, 0.3, 0.4, 0.6]
For example: in our machine, optimal C is
===============Table I ==================
---------------->Kvasir dataset<------------
LoRA
lora_r = 8, dirichlet_alpha = 0.1
privacy budget=1.0 C = 0.1
privacy budget=3.0 C = 0.2
privacy budget=6.0 C = 0.3
FFA-LoRA
lora_r = 8, dirichlet_alpha = 0.1
privacy budget=1.0 C = 0.3
privacy budget=3.0 C = 0.3
privacy budget=6.0 C = 0.3
DP-DyLoRA
lora_r = 8, dirichlet_alpha = 0.1
privacy budget=1.0 C = 0.1
privacy budget=3.0 C = 0.2
privacy budget=6.0 C = 0.3
Ours
lora_r = 8, dirichlet_alpha = 0.1
privacy budget=1.0 C = 0.2
privacy budget=3.0 C = 0.3
privacy budget=6.0 C = 0.6
---------------->OCT dataset<------------
LoRA
lora_r = 8, dirichlet_alpha = 0.1
privacy budget=0.1 C = 0.1
privacy budget=0.5 C = 0.1
privacy budget=1.0 C = 0.2
FFA-LoRA
lora_r = 8, dirichlet_alpha = 0.1
privacy budget=0.1 C = 0.2
privacy budget=0.5 C = 0.2
privacy budget=1.0 C = 0.6
DP-DyLoRA
lora_r = 8, dirichlet_alpha = 0.1
privacy budget=0.1 C = 0.1
privacy budget=0.5 C = 0.1
privacy budget=1.0 C = 0.1
Ours
lora_r = 8, dirichlet_alpha = 0.1
privacy budget=0.1 C = 0.1
privacy budget=0.5 C = 0.3
privacy budget=1.0 C = 0.4
'''
###########################################################