-
Notifications
You must be signed in to change notification settings - Fork 0
/
plot.py
468 lines (429 loc) · 42.2 KB
/
plot.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
import matplotlib.pyplot as plt
# fedl = [3.3029e+00, 7.3388e-01, 1.8450e-01, 9.8410e-02, 6.4483e-02, 4.6691e-02,
# 3.6114e-02, 2.9880e-02, 2.6224e-02, 2.3538e-02, 2.1394e-02, 1.9632e-02,
# 1.8154e-02, 1.6895e-02, 1.5809e-02, 1.4860e-02, 1.4024e-02, 1.3282e-02,
# 1.2618e-02, 1.2020e-02, 1.1479e-02, 1.0987e-02, 1.0537e-02, 1.0124e-02,
# 9.7430e-03, 9.3913e-03, 9.0651e-03, 8.7618e-03, 8.4789e-03, 8.2145e-03,
# 7.9667e-03, 7.7341e-03, 7.5151e-03, 7.3088e-03, 7.1138e-03, 6.9295e-03,
# 6.7548e-03, 6.5890e-03, 6.4315e-03, 6.2816e-03, 6.1388e-03, 6.0026e-03,
# 5.8726e-03, 5.7482e-03, 5.6293e-03, 5.5153e-03, 5.4060e-03, 5.3011e-03,
# 5.2003e-03, 5.1035e-03, 5.0103e-03, 4.9206e-03, 4.8341e-03, 4.7507e-03,
# 4.6703e-03, 4.5927e-03, 4.5176e-03, 4.4451e-03, 4.3749e-03, 4.3070e-03,
# 4.2412e-03, 4.1775e-03, 4.1158e-03, 4.0559e-03, 3.9977e-03, 3.9413e-03,
# 3.8865e-03, 3.8333e-03, 3.7815e-03, 3.7312e-03, 3.6822e-03, 3.6346e-03,
# 3.5881e-03, 3.5430e-03, 3.4989e-03, 3.4560e-03, 3.4142e-03, 3.3734e-03,
# 3.3336e-03, 3.2947e-03, 3.2568e-03, 3.2197e-03, 3.1836e-03, 3.1482e-03,
# 3.1137e-03, 3.0799e-03, 3.0469e-03, 3.0146e-03, 2.9829e-03, 2.9520e-03,
# 2.9217e-03, 2.8921e-03, 2.8631e-03, 2.8346e-03, 2.8068e-03, 2.7795e-03,
# 2.7528e-03, 2.7265e-03, 2.7008e-03, 2.6756e-03, 2.6509e-03, 2.6266e-03,
# 2.6028e-03, 2.5794e-03, 2.5564e-03, 2.5339e-03, 2.5118e-03, 2.4900e-03,
# 2.4687e-03, 2.4477e-03, 2.4271e-03, 2.4069e-03, 2.3869e-03, 2.3674e-03,
# 2.3481e-03, 2.3292e-03, 2.3106e-03, 2.2923e-03, 2.2743e-03, 2.2565e-03,
# 2.2391e-03, 2.2219e-03, 2.2050e-03, 2.1884e-03, 2.1720e-03, 2.1559e-03,
# 2.1400e-03, 2.1244e-03, 2.1090e-03, 2.0938e-03, 2.0788e-03, 2.0641e-03,
# 2.0496e-03, 2.0352e-03, 2.0211e-03, 2.0072e-03, 1.9935e-03, 1.9800e-03,
# 1.9666e-03, 1.9535e-03, 1.9405e-03, 1.9277e-03, 1.9150e-03, 1.9026e-03,
# 1.8903e-03, 1.8782e-03, 1.8662e-03, 1.8544e-03, 1.8427e-03, 1.8312e-03,
# 1.8198e-03, 1.8086e-03, 1.7975e-03, 1.7866e-03, 1.7758e-03, 1.7651e-03,
# 1.7546e-03, 1.7442e-03, 1.7339e-03, 1.7237e-03, 1.7137e-03, 1.7037e-03,
# 1.6940e-03, 1.6843e-03, 1.6747e-03, 1.6652e-03, 1.6559e-03, 1.6466e-03,
# 1.6375e-03, 1.6284e-03, 1.6195e-03, 1.6107e-03, 1.6019e-03, 1.5933e-03,
# 1.5847e-03, 1.5763e-03, 1.5679e-03, 1.5597e-03, 1.5515e-03, 1.5434e-03,
# 1.5354e-03, 1.5275e-03, 1.5196e-03, 1.5119e-03, 1.5042e-03, 1.4966e-03,
# 1.4891e-03, 1.4816e-03, 1.4743e-03, 1.4670e-03, 1.4598e-03, 1.4526e-03,
# 1.4456e-03, 1.4386e-03, 1.4316e-03, 1.4248e-03, 1.4180e-03, 1.4112e-03,
# 1.4046e-03, 1.3980e-03]
#
# avg = [11.004522281274433, 2.798345482695104, 1.7178891104677705, 1.2328098029313532, 0.9549011697244181, 0.7749552504377175, 0.6493775402968441, 0.5571345310599085, 0.4868157110325739, 0.4316888750582932, 0.38746062144090204, 0.3512549476848873, 0.3211040832455493, 0.2956307000262468, 0.27384393839110693, 0.25501166420347343, 0.23858033488586958, 0.22412383158705174, 0.21130953959194296, 0.19987472047292348, 0.1896093302621934, 0.18034365169543354, 0.17193913849571069, 0.16428158704830328, 0.15727602574457478, 0.15084289488823457, 0.14491502991681376, 0.13943531960652156, 0.13435493141204827, 0.1296318500332204, 0.1252297717434486, 0.12111710846513077, 0.1172662822918181, 0.11365308029371748, 0.11025621560007463, 0.1070568666870695, 0.10403829962260046, 0.10118562640925036, 0.09848555562686674, 0.09592617211509423, 0.09349678365031609, 0.09118771065564116, 0.08899026244938646, 0.08689650825645634, 0.08489929786591249, 0.08299214318950743, 0.08116903579232548, 0.07942456767867023, 0.07775375351702109, 0.07615199972465601, 0.07461514607378752, 0.07313933080891286, 0.07172096719100857, 0.07035675743693713, 0.06904369964207145, 0.06777891555225578, 0.06655981978952506, 0.06538395797877321, 0.06424911089639018, 0.06315312048855215, 0.06209406472519297, 0.061070088381345033, 0.060079473665845116, 0.05912059817996309, 0.05819199375700474, 0.05729224324624645, 0.05641998626887439, 0.05557401522481883, 0.05475315195411862, 0.05395630017360556, 0.05318238818582666, 0.052430482459958655, 0.051699633543945175, 0.0509889747825296, 0.05029767638127017, 0.0496249545380174, 0.048970072339549524, 0.0483323303130113, 0.047711038985916276, 0.04710559674242867, 0.04651542415599519, 0.04593991398427268, 0.045378543386598295, 0.04483078343182305, 0.04429617269610428, 0.04377421175288017, 0.04326446943018992, 0.04276649478835773, 0.04227992464749559, 0.04180435638107352, 0.04133940253297493, 0.04088475534399184, 0.040440022945694445, 0.04000492231589736, 0.039579129327125755, 0.039162349783676574, 0.03875431044153759, 0.038354703971499794, 0.03796331616240194, 0.03757987143663702, 0.03720411505497384, 0.0368358530919559, 0.0364748434167531, 0.036120902116604674, 0.03577375296285588, 0.035433253264486896, 0.03509920880819402, 0.03477145827259627, 0.03444977269306498, 0.03413403742164068, 0.03382406295229088, 0.03351968426151438, 0.03322076380265975, 0.03292716139075426, 0.032638738430094634, 0.03235534623130706, 0.03207685082328928, 0.03180312354078955, 0.03153406713278137, 0.031269541990176966, 0.031009448320698848, 0.030753642525885576, 0.030502080950675383, 0.030254580493372783, 0.030011137476444297, 0.02977155805357321, 0.029535808497660607, 0.029303767496948876, 0.02907537950675387, 0.028850520921334128, 0.028629163678742423, 0.028411175216942187, 0.028196498155643016, 0.027985067564660026, 0.027776803732642633, 0.027571596580532803, 0.027369451547050932, 0.02717026341883153, 0.02697393873754452, 0.026780487487962863, 0.02658977970176058, 0.026401799147585434, 0.026216434320707985, 0.026033681951770492, 0.025853514382525505, 0.02567579594305165, 0.025500496600577963, 0.025327637932667697, 0.02515707713175937, 0.024988854945990346, 0.024822850801832184, 0.024659036574970643, 0.02449740693525472, 0.024337889011165778, 0.02418042742183919, 0.024025012976603078, 0.023871629419568278, 0.023720137315812653, 0.023570604452188306, 0.023422943569667818, 0.023277114854145933, 0.02313312561198847, 0.022990925545809535, 0.02285043874337131, 0.022711658701932962, 0.02257459684597087, 0.02243920431559274, 0.02230540465397652, 0.02217317951636861, 0.02204254527165898, 0.02191345521398372, 0.021785854622924254, 0.02165975293823679, 0.0215351244320599, 0.02141189662276965, 0.02129008496393495, 0.0211697045763087, 0.021050669617677945, 0.020932937509390282, 0.02081652498725936, 0.020701412356792164, 0.02058759568307277, 0.020475007009645205, 0.02036367278158407, 0.02025352198284211, 0.020144598337160587, 0.02003680897685355, 0.019930171242159136, 0.019824693752207693, 0.019720321182617247, 0.01961705989176051, 0.019514861634984212, 0.01941374533068828, 0.019313616844541765, 0.01921455729170597, 0.01911655003769708, 0.019019514451217478, 0.018923472309080758, 0.01882838256238164, 0.018734271615407576]
# fedl = [2.1323, 0.6392, 0.3631, 0.2589, 0.2073, 0.1771, 0.1574, 0.1437, 0.1335,
# 0.1257, 0.1195, 0.1145, 0.1104, 0.1069, 0.1039, 0.1014, 0.0991, 0.0972,
# 0.0954, 0.0939, 0.0925, 0.0912, 0.0901, 0.0890, 0.0881, 0.0872, 0.0864,
# 0.0857, 0.0850, 0.0843, 0.0837, 0.0831, 0.0826, 0.0821, 0.0817, 0.0812,
# 0.0808, 0.0804, 0.0800, 0.0797, 0.0793, 0.0790, 0.0787, 0.0784, 0.0781,
# 0.0779, 0.0776, 0.0774, 0.0771, 0.0769, 0.0767, 0.0765, 0.0763, 0.0761,
# 0.0759, 0.0757, 0.0755, 0.0754, 0.0752, 0.0750, 0.0749, 0.0747, 0.0746,
# 0.0745, 0.0743, 0.0742, 0.0741, 0.0740, 0.0738, 0.0737, 0.0736, 0.0735,
# 0.0734, 0.0733, 0.0732, 0.0731, 0.0730, 0.0729, 0.0728, 0.0727, 0.0726,
# 0.0725, 0.0725, 0.0724, 0.0723, 0.0722, 0.0721, 0.0721, 0.0720, 0.0719,
# 0.0719, 0.0718, 0.0717, 0.0717, 0.0716, 0.0715, 0.0715, 0.0714, 0.0714,
# 0.0713, 0.0712, 0.0712, 0.0711, 0.0711, 0.0710, 0.0710, 0.0709, 0.0709,
# 0.0708, 0.0708, 0.0707, 0.0707, 0.0706, 0.0706, 0.0705, 0.0705, 0.0704,
# 0.0704, 0.0704, 0.0703, 0.0703, 0.0702, 0.0702, 0.0702, 0.0701, 0.0701,
# 0.0700, 0.0700, 0.0700, 0.0699, 0.0699, 0.0699, 0.0698, 0.0698, 0.0698,
# 0.0697, 0.0697, 0.0697, 0.0696, 0.0696, 0.0696, 0.0695, 0.0695, 0.0695,
# 0.0695, 0.0694, 0.0694, 0.0694, 0.0693, 0.0693, 0.0693, 0.0693, 0.0692,
# 0.0692, 0.0692, 0.0691, 0.0691, 0.0691, 0.0691, 0.0690, 0.0690, 0.0690,
# 0.0690, 0.0690, 0.0689, 0.0689, 0.0689, 0.0689, 0.0688, 0.0688, 0.0688,
# 0.0688, 0.0687, 0.0687, 0.0687, 0.0687, 0.0687, 0.0686, 0.0686, 0.0686,
# 0.0686, 0.0686, 0.0685, 0.0685, 0.0685, 0.0685, 0.0685, 0.0684, 0.0684,
# 0.0684, 0.0684, 0.0684, 0.0683, 0.0683, 0.0683, 0.0683, 0.0683, 0.0683,
# 0.0682, 0.0682]
#
# avg = [2.14156845864933, 0.6422863425379619, 0.36503972815210023, 0.2602822293033823, 0.2083898935962934, 0.17799162925872958, 0.15817637306876717, 0.14428840552206387, 0.13403458047873576, 0.1261623446308076, 0.11993241868133189, 0.11488138709947815, 0.1107044597963395, 0.10719318053952881, 0.10420026919530938, 0.10161876078671778, 0.09936914567201166, 0.09739111095125555, 0.09563809124569525, 0.09407357361301547, 0.09266852862792445, 0.09139959605762851, 0.09024774943251394, 0.08919736700145586, 0.08823547609076195, 0.0873512296023255, 0.08653549082844984, 0.08578049952619769, 0.0850796247008111, 0.08442717249256383, 0.08381822994476533, 0.0832485135851748, 0.08271429729061493, 0.08221231739847282, 0.08173969033855244, 0.08129387461002627, 0.08087261601351203, 0.08047390531768907, 0.08009594740631291, 0.0797371376795054, 0.07939603350433752, 0.07907133460673504, 0.0787618651410157, 0.07846655566390838, 0.07818444828777865, 0.07791465009702371, 0.07765637230301949, 0.07740886159686487, 0.07717147304410173, 0.07694355459073267, 0.07672457480605226, 0.0765139729028233, 0.07631130914594543, 0.0761160848001964, 0.07592794668458373, 0.07574645505944498, 0.0755712874067831, 0.07540211778073715, 0.07523859239166633, 0.07508049163387479, 0.07492750621603048, 0.07477935567233363, 0.07463588820354926, 0.07449682610294259, 0.07436193922616804, 0.07423110927631933, 0.07410411532372381, 0.07398076096070143, 0.07386089891552546, 0.0737444317783884, 0.07363116182149677, 0.07352093544146918, 0.07341365871857125, 0.07330923465634985, 0.0732075298159398, 0.0731083888696958, 0.07301174800676379, 0.07291752358489612, 0.07282563032711187, 0.07273595642807777, 0.0726483955005824, 0.07256288695508557, 0.07247938557935411, 0.07239780609144508, 0.07231807786460562, 0.07224011461060582, 0.07216385450078815, 0.07208925113997973, 0.07201626879780086, 0.07194484440520317, 0.0718749130075521, 0.07180642398994679, 0.07173932902466913, 0.07167357414553044, 0.07160914621352278, 0.0715459885474884, 0.07148407185918401, 0.07142335079238547, 0.07136377710070885, 0.07130531541721574, 0.07124793936551943, 0.07119161699940378, 0.07113632999029507, 0.07108202781537327, 0.07102869491224922, 0.07097630517122891, 0.07092483551215263, 0.07087423940375086, 0.0708244912077098, 0.0707755704285737, 0.0707274876614356, 0.0706802085696691, 0.07063368345757044, 0.07058789677256937, 0.07054283467885035, 0.07049851980957828, 0.07045489555849055, 0.0704119347444139, 0.07036962537229191, 0.07032794191283759, 0.07028688752153175, 0.07024646967707666, 0.07020664252103596, 0.07016739764612796, 0.07012870722465232, 0.07009054781727903, 0.07005293362670273, 0.07001587207537521, 0.0699793258177415, 0.06994328440663594, 0.06990772985310106, 0.06987262761234886, 0.06983798977529296, 0.06980382707143873, 0.0697701284194409, 0.06973685935166939, 0.06970402586360795, 0.06967160355793381, 0.06963957148007466, 0.06960793862125501, 0.06957670142487406, 0.06954585438157664, 0.06951539993562984, 0.06948529927524942, 0.0694555668195135, 0.06942617643073028, 0.06939713474851669, 0.06936842028354293, 0.0693400432527851, 0.0693119955502516, 0.06928427863496109, 0.06925686423927623, 0.06922975263173431, 0.06920294072684192, 0.06917641867223576, 0.0691501867957559, 0.0691242259320279, 0.06909854994630586, 0.0690731275435901, 0.06904798793072771, 0.06902310997871608, 0.06899851268815839, 0.06897415853403435, 0.0689500325945737, 0.0689261582927138, 0.06890250383560849, 0.06887910290911896, 0.06885593232295288, 0.06883296486183098, 0.06881026107748403, 0.06878775520746419, 0.06876547254752226, 0.06874342203462948, 0.06872154023857363, 0.0686998686680854, 0.06867839620921223, 0.06865708787805123, 0.06863600497366135, 0.06861510885760436, 0.06859437488488766, 0.06857386515070904, 0.06855351390356734, 0.06853331526580586, 0.06851333561363937, 0.06849351164646214, 0.06847384593348398, 0.06845438077081054, 0.06843505734463358, 0.06841585858389225, 0.06839686336640442, 0.0683780202158905, 0.06835928966287248, 0.06834074423640232, 0.06832235631682489, 0.0683040822298717, 0.0682859830944526, 0.06826804900480599, 0.06825021816982008, 0.06823251725491719, 0.06821498785112816]
# avg = [1.3502037294307951, 0.26086851788964127, 0.141410911152052, 0.09995428264627122, 0.07921788273294808, 0.06681372723680395, 0.05856923538607953, 0.052696400517816065, 0.0483028125539422, 0.044893512275157275, 0.042171981759063795, 0.039949821695350676, 0.03810160775815166, 0.03654061295438442, 0.03520495814869356, 0.034049308638008376, 0.03303969001856602, 0.03215014922794217, 0.03136051470551321, 0.030654882280163297, 0.030020548717548088, 0.02944723522753339, 0.028926543362904348, 0.028451554027004024, 0.02801649184127746, 0.027616532151441782, 0.027247586203029632, 0.026906173742307145, 0.02658931536012097, 0.026294456155967046, 0.02601938240316666, 0.025762156237760785, 0.025521082584451505, 0.025294719216799426, 0.02508169788523809, 0.02488094230783099, 0.02469133924128256, 0.024512073683108603, 0.024342222490962746, 0.024181157086361062, 0.024028138248191697, 0.02388260077547239, 0.02374404833859808, 0.023611922215302894, 0.023485811476213713, 0.023365345762136717, 0.023250124668811618, 0.023139771034078875, 0.02303407309542125, 0.02293269948047419, 0.02283535714118261, 0.022741844003623557, 0.022651938152610445, 0.022565449467134395, 0.02248214878133694, 0.022401877860509564, 0.02232450235555916, 0.02224980458422761, 0.022177756826316907, 0.022108100707955592, 0.022040768553364627, 0.021975668188020787, 0.02191269172383182, 0.021851645279619334, 0.021792589763979787, 0.021735345387698543, 0.021679775116157547, 0.021625928193305298, 0.021573669450001023, 0.021522897108729008, 0.021473573643816055, 0.02142565588059005, 0.021379082090283184, 0.02133378533618633, 0.0212896994568, 0.0212468143606111, 0.021205051051054396, 0.021164381401767966, 0.021124745783883563, 0.021086087913037767, 0.021048412264910443, 0.021011716625296686, 0.020975871450624257, 0.02094089630874623, 0.020906744122888996, 0.020873431269483246, 0.02084090935830138, 0.02080912814676959, 0.020778026333808156, 0.02074762493060372, 0.020717935784216025, 0.02068885698261693, 0.02066043274883123, 0.020632667188008783, 0.02060541766036477, 0.020578749750899076, 0.020552720150895765, 0.02052707962370914, 0.020502142748892765, 0.02047758257849182, 0.020453609762943418, 0.02043004688470409, 0.020406970557603935, 0.020384326352366776, 0.02036210336126533, 0.02034032266976011, 0.020318911802502955, 0.02029793442259688, 0.020277327578317447, 0.020257124857719643, 0.0202373089137618, 0.02021778160503435, 0.020198737525965956, 0.020179824358694535, 0.020161418145989957, 0.020143211061288645, 0.02012537564742434, 0.020107894186790865, 0.020090629869130686, 0.02007376507248592, 0.02005709478921562, 0.0200406380768045, 0.020024625143096296, 0.020008717684847382, 0.019993063230197547, 0.019977773997318756, 0.019962599914818368, 0.019947729560825796, 0.019933123905745555, 0.01991862482825217, 0.019904447206007717, 0.01989048180121426, 0.01987661733948153, 0.019863089760143338, 0.019849753324811006, 0.01983653294235774, 0.01982355038795141, 0.019810827711464307, 0.019798226184323545, 0.019785778458444835, 0.01977357170762389, 0.019761475832747233, 0.01974957459772576, 0.019737867949768756, 0.019726336627993078, 0.019714883201178052, 0.019703591247613984, 0.019692528331844185, 0.01968157513135248, 0.01967070570632767, 0.019660044813584136, 0.01964956284832352, 0.019639178468030878, 0.019628957471669317, 0.019618760706524886, 0.019608815748249075, 0.019598937125537307, 0.01958925350175923, 0.019579548918276485, 0.01957000876375059, 0.019560670641298197, 0.01955142087795502, 0.01954223356194506, 0.019533104725636807, 0.01952419854861272, 0.019515317979689827, 0.019506712573574975, 0.019497952458114927, 0.01948943044044608, 0.019481030967110197, 0.019472686849611814, 0.019464525430574215, 0.01945632217921776, 0.019448239560172616, 0.019440394761138124, 0.01943254339534998, 0.019424753745631275, 0.019417045179619882, 0.019409433381297286, 0.019401992707776115, 0.019394531073721726, 0.019387250069261435, 0.01937992182786547, 0.019372641079612556, 0.01936559145811225, 0.01935863965602584, 0.019351672696461715, 0.01934481956414675, 0.01933802971168643, 0.01933121236263149, 0.01932444706690513, 0.019317914851263593, 0.01931145151726196, 0.01930493269886256, 0.01929860884244227, 0.01929225409973105, 0.01928593865029962, 0.019279646232436783, 0.0192734823665055, 0.019267469297122256]
# rho 2.5 0.3
jfedl = [0.6706, 0.5907, 0.5401, 0.5125, 0.4936, 0.4808, 0.4709, 0.4615, 0.4539,
0.4475, 0.4410, 0.4348, 0.4296, 0.4250, 0.4208, 0.4172, 0.4137, 0.4103,
0.4070, 0.4040, 0.4013, 0.3988, 0.3965, 0.3943, 0.3922, 0.3901, 0.3882,
0.3864, 0.3847, 0.3831, 0.3816, 0.3802, 0.3788, 0.3775, 0.3762, 0.3750,
0.3739, 0.3728, 0.3717, 0.3707, 0.3698, 0.3688, 0.3680, 0.3671, 0.3663,
0.3655, 0.3648, 0.3640, 0.3633, 0.3627, 0.3620, 0.3614, 0.3608, 0.3602,
0.3597, 0.3591, 0.3586, 0.3581, 0.3577, 0.3572, 0.3567, 0.3563, 0.3559,
0.3555, 0.3551, 0.3547, 0.3543, 0.3540, 0.3536, 0.3533, 0.3530, 0.3527,
0.3524, 0.3521, 0.3518, 0.3515, 0.3513, 0.3510, 0.3508, 0.3505, 0.3503,
0.3501, 0.3498, 0.3496, 0.3494, 0.3492, 0.3490, 0.3488, 0.3487, 0.3485,
0.3483, 0.3482, 0.3480, 0.3478, 0.3477, 0.3475, 0.3474, 0.3473, 0.3471,
0.3470, 0.3469, 0.3468, 0.3467, 0.3465, 0.3464, 0.3463, 0.3462, 0.3461,
0.3460, 0.3459, 0.3458, 0.3458, 0.3457, 0.3456, 0.3455, 0.3454, 0.3454,
0.3453, 0.3452, 0.3452, 0.3451, 0.3450, 0.3450, 0.3449, 0.3449, 0.3448,
0.3448, 0.3447, 0.3447, 0.3446, 0.3446, 0.3446, 0.3445, 0.3445, 0.3445,
0.3444, 0.3444, 0.3444, 0.3443, 0.3443, 0.3443, 0.3443, 0.3442, 0.3442,
0.3442, 0.3442, 0.3442, 0.3441, 0.3441, 0.3441, 0.3441, 0.3441, 0.3441,
0.3441, 0.3441, 0.3441, 0.3440, 0.3440, 0.3440, 0.3440, 0.3440, 0.3440,
0.3440, 0.3440, 0.3440, 0.3440, 0.3440, 0.3440, 0.3440, 0.3441, 0.3441,
0.3441, 0.3441, 0.3441, 0.3441, 0.3441, 0.3441, 0.3441, 0.3441, 0.3441,
0.3442, 0.3442, 0.3442, 0.3442, 0.3442, 0.3442, 0.3443, 0.3443, 0.3443,
0.3443, 0.3443, 0.3443, 0.3444, 0.3444, 0.3444, 0.3444, 0.3444, 0.3445,
0.3445, 0.3445]
# rho 2.5 1.
jfedl2 = [0.6248, 0.4796, 0.4572, 0.4203, 0.4207, 0.4168, 0.3920, 0.4881, 0.4197,
0.4653, 0.5969, 0.3961, 0.7006, 0.7149, 0.4316, 0.7178, 0.6510, 0.4508,
0.7574, 0.6487, 0.4304, 0.6209, 0.5497, 0.4206, 0.6260, 0.5653, 0.4060,
0.5096, 0.4815, 0.3965, 0.5288, 0.5058, 0.3932, 0.4494, 0.4398, 0.3859,
0.4724, 0.4646, 0.3857, 0.4174, 0.4130, 0.3801, 0.4403, 0.4356, 0.3797,
0.3997, 0.3955, 0.3764, 0.4214, 0.4148, 0.3747, 0.3892, 0.3835, 0.3741,
0.4095, 0.3994, 0.3706, 0.3823, 0.3750, 0.3730, 0.4013, 0.3877, 0.3676,
0.3774, 0.3689, 0.3731, 0.3950, 0.3783, 0.3657, 0.3734, 0.3646, 0.3742,
0.3896, 0.3710, 0.3649, 0.3699, 0.3621, 0.3760, 0.3842, 0.3654, 0.3649,
0.3665, 0.3614, 0.3780, 0.3785, 0.3617, 0.3652, 0.3632, 0.3625, 0.3795,
0.3726, 0.3600, 0.3652, 0.3603, 0.3655, 0.3796, 0.3668, 0.3600, 0.3645,
0.3585, 0.3696, 0.3778, 0.3620, 0.3612, 0.3628, 0.3586, 0.3738, 0.3740,
0.3590, 0.3627, 0.3604, 0.3609, 0.3769, 0.3689, 0.3582, 0.3636, 0.3582,
0.3652, 0.3777, 0.3636, 0.3593, 0.3631, 0.3573, 0.3705, 0.3757, 0.3596,
0.3613, 0.3613, 0.3586, 0.3753, 0.3713, 0.3577, 0.3632, 0.3589, 0.3625,
0.3779, 0.3659, 0.3583, 0.3637, 0.3572, 0.3681, 0.3774, 0.3609, 0.3604,
0.3624, 0.3575, 0.3738, 0.3738, 0.3581, 0.3628, 0.3600, 0.3606, 0.3777,
0.3684, 0.3578, 0.3640, 0.3577, 0.3659, 0.3785, 0.3629, 0.3596, 0.3634,
0.3571, 0.3719, 0.3759, 0.3590, 0.3621, 0.3612, 0.3592, 0.3767, 0.3708,
0.3577, 0.3638, 0.3586, 0.3637, 0.3786, 0.3650, 0.3588, 0.3639, 0.3572,
0.3696, 0.3770, 0.3603, 0.3611, 0.3621, 0.3582, 0.3748, 0.3726, 0.3580,
0.3632, 0.3596, 0.3618, 0.3776, 0.3670, 0.3583, 0.3637, 0.3577, 0.3671,
0.3771, 0.3618]
# rho 2.5, 1.5
jfedl3 = [0.6061, 0.5375, 0.5054, 0.5311, 0.6636, 0.4829, 0.9569, 0.6534, 0.8055,
1.0897, 0.5197, 0.9488, 0.9315, 0.5253, 0.7185, 0.6625, 0.5002, 0.7483,
0.6344, 0.4795, 0.6183, 0.5030, 0.5216, 0.6677, 0.5104, 0.4879, 0.5483,
0.4452, 0.5499, 0.5846, 0.4523, 0.4987, 0.4887, 0.4468, 0.5604, 0.5095,
0.4414, 0.4935, 0.4427, 0.4772, 0.5420, 0.4518, 0.4552, 0.4703, 0.4277,
0.5107, 0.4970, 0.4274, 0.4689, 0.4362, 0.4523, 0.5204, 0.4449, 0.4407,
0.4609, 0.4180, 0.4979, 0.4892, 0.4192, 0.4652, 0.4299, 0.4489, 0.5213,
0.4366, 0.4427, 0.4627, 0.4135, 0.5116, 0.4886, 0.4173, 0.4792, 0.4261,
0.4651, 0.5390, 0.4297, 0.4619, 0.4724, 0.4183, 0.5440, 0.4898, 0.4267,
0.5029, 0.4232, 0.4976, 0.5578, 0.4256, 0.4899, 0.4785, 0.4332, 0.5739,
0.4844, 0.4435, 0.5178, 0.4204, 0.5273, 0.5597, 0.4240, 0.5083, 0.4723,
0.4504, 0.5842, 0.4712, 0.4572, 0.5160, 0.4185, 0.5425, 0.5448, 0.4238,
0.5132, 0.4579, 0.4656, 0.5794, 0.4546, 0.4675, 0.5047, 0.4191, 0.5505,
0.5224, 0.4262, 0.5124, 0.4415, 0.4823, 0.5684, 0.4387, 0.4784, 0.4899,
0.4249, 0.5574, 0.4976, 0.4336, 0.5095, 0.4272, 0.5025, 0.5532, 0.4269,
0.4903, 0.4725, 0.4386, 0.5625, 0.4723, 0.4468, 0.5035, 0.4189, 0.5237,
0.5324, 0.4226, 0.4998, 0.4524, 0.4603, 0.5617, 0.4487, 0.4638, 0.4925,
0.4199, 0.5418, 0.5059, 0.4277, 0.5036, 0.4330, 0.4871, 0.5515, 0.4307,
0.4810, 0.4753, 0.4322, 0.5532, 0.4769, 0.4412, 0.5002, 0.4204, 0.5138,
0.5310, 0.4228, 0.4939, 0.4535, 0.4551, 0.5552, 0.4497, 0.4599, 0.4894,
0.4197, 0.5353, 0.5027, 0.4271, 0.4990, 0.4322, 0.4845, 0.5449, 0.4298,
0.4787, 0.4710, 0.4332, 0.5481, 0.4716, 0.4420, 0.4953, 0.4196, 0.5133,
0.5226, 0.4226]
####################
# h_k = 0.01
####################
# # rho 5 0.5
# fedl = [0.6916, 0.6628, 0.6357, 0.6130, 0.5942, 0.5787, 0.5656, 0.5544, 0.5447,
# 0.5361, 0.5285, 0.5217, 0.5155, 0.5099, 0.5048, 0.5000, 0.4956, 0.4915,
# 0.4876, 0.4840, 0.4806, 0.4774, 0.4743, 0.4715, 0.4687, 0.4661, 0.4636,
# 0.4612, 0.4589, 0.4567, 0.4546, 0.4526, 0.4506, 0.4487, 0.4469, 0.4452,
# 0.4435, 0.4418, 0.4402, 0.4387, 0.4372, 0.4358, 0.4343, 0.4330, 0.4316,
# 0.4304, 0.4291, 0.4279, 0.4267, 0.4255, 0.4244, 0.4233, 0.4222, 0.4211,
# 0.4201, 0.4191, 0.4181, 0.4171, 0.4162, 0.4153, 0.4144, 0.4135, 0.4126,
# 0.4118, 0.4109, 0.4101, 0.4093, 0.4086, 0.4078, 0.4070, 0.4063, 0.4056,
# 0.4049, 0.4042, 0.4035, 0.4028, 0.4021, 0.4015, 0.4008, 0.4002, 0.3996,
# 0.3990, 0.3984, 0.3978, 0.3972, 0.3966, 0.3961, 0.3955, 0.3950, 0.3944,
# 0.3939, 0.3934, 0.3929, 0.3924, 0.3919, 0.3914, 0.3909, 0.3904, 0.3900,
# 0.3895, 0.3890, 0.3886, 0.3881, 0.3877, 0.3873, 0.3869, 0.3864, 0.3860,
# 0.3856, 0.3852, 0.3848, 0.3844, 0.3840, 0.3836, 0.3833, 0.3829, 0.3825,
# 0.3822, 0.3818, 0.3814, 0.3811, 0.3807, 0.3804, 0.3801, 0.3797, 0.3794,
# 0.3791, 0.3787, 0.3784, 0.3781, 0.3778, 0.3775, 0.3772, 0.3769, 0.3766,
# 0.3763, 0.3760, 0.3757, 0.3754, 0.3751, 0.3749, 0.3746, 0.3743, 0.3741,
# 0.3738, 0.3735, 0.3733, 0.3730, 0.3727, 0.3725, 0.3722, 0.3720, 0.3717,
# 0.3715, 0.3713, 0.3710, 0.3708, 0.3706, 0.3703, 0.3701, 0.3699, 0.3696,
# 0.3694, 0.3692, 0.3690, 0.3688, 0.3686, 0.3683, 0.3681, 0.3679, 0.3677,
# 0.3675, 0.3673, 0.3671, 0.3669, 0.3667, 0.3665, 0.3663, 0.3662, 0.3660,
# 0.3658, 0.3656, 0.3654, 0.3652, 0.3650, 0.3649, 0.3647, 0.3645, 0.3643,
# 0.3642, 0.3640, 0.3638, 0.3637, 0.3635, 0.3633, 0.3632, 0.3630, 0.3628,
# 0.3627, 0.3625]
# # rho = 5 0
# fedl2 = [0.6983, 0.6982, 0.6979, 0.6980, 0.6981, 0.6982, 0.6983, 0.6984, 0.6985,
# 0.6986, 0.6987, 0.6988, 0.6989, 0.6990, 0.6991, 0.6992, 0.6994, 0.6995,
# 0.6996, 0.6997, 0.6998, 0.6999, 0.7000, 0.7002, 0.7003, 0.7004, 0.7005,
# 0.7006, 0.7008, 0.7009, 0.7010, 0.7012, 0.7013, 0.7014, 0.7016, 0.7017,
# 0.7018, 0.7020, 0.7021, 0.7023, 0.7024, 0.7026, 0.7027, 0.7029, 0.7030,
# 0.7032, 0.7034, 0.7035, 0.7037, 0.7038, 0.7040, 0.7042, 0.7043, 0.7045,
# 0.7047, 0.7048, 0.7050, 0.7052, 0.7054, 0.7055, 0.7057, 0.7059, 0.7061,
# 0.7062, 0.7064, 0.7066, 0.7068, 0.7070, 0.7072, 0.7073, 0.7075, 0.7077,
# 0.7079, 0.7081, 0.7083, 0.7084, 0.7086, 0.7088, 0.7090, 0.7092, 0.7094,
# 0.7096, 0.7098, 0.7100, 0.7102, 0.7103, 0.7105, 0.7107, 0.7109, 0.7111,
# 0.7113, 0.7115, 0.7117, 0.7119, 0.7121, 0.7123, 0.7125, 0.7127, 0.7129,
# 0.7131, 0.7133, 0.7135, 0.7136, 0.7138, 0.7140, 0.7142, 0.7144, 0.7146,
# 0.7148, 0.7150, 0.7152, 0.7154, 0.7156, 0.7158, 0.7160, 0.7162, 0.7164,
# 0.7166, 0.7168, 0.7170, 0.7172, 0.7174, 0.7176, 0.7178, 0.7180, 0.7182,
# 0.7184, 0.7186, 0.7188, 0.7190, 0.7192, 0.7194, 0.7196, 0.7198, 0.7200,
# 0.7202, 0.7204, 0.7206, 0.7208, 0.7210, 0.7212, 0.7214, 0.7216, 0.7218,
# 0.7220, 0.7223, 0.7225, 0.7227, 0.7229, 0.7231, 0.7233, 0.7235, 0.7237,
# 0.7239, 0.7241, 0.7243, 0.7245, 0.7247, 0.7249, 0.7251, 0.7253, 0.7255,
# 0.7257, 0.7259, 0.7261, 0.7263, 0.7266, 0.7268, 0.7270, 0.7272, 0.7274,
# 0.7276, 0.7278, 0.7280, 0.7282, 0.7284, 0.7286, 0.7288, 0.7290, 0.7292,
# 0.7295, 0.7297, 0.7299, 0.7301, 0.7303, 0.7305, 0.7307, 0.7309, 0.7311,
# 0.7313, 0.7315, 0.7318, 0.7320, 0.7322, 0.7324, 0.7326, 0.7328, 0.7330,
# 0.7332, 0.7334]
# # rho = 5 1
# fedl3 = [0.6735, 0.6229, 0.5833, 0.5544, 0.5329, 0.5161, 0.5025, 0.4911, 0.4814,
# 0.4730, 0.4656, 0.4591, 0.4532, 0.4480, 0.4432, 0.4388, 0.4348, 0.4311,
# 0.4277, 0.4245, 0.4215, 0.4188, 0.4162, 0.4137, 0.4115, 0.4093, 0.4073,
# 0.4054, 0.4035, 0.4018, 0.4002, 0.3986, 0.3971, 0.3957, 0.3944, 0.3931,
# 0.3918, 0.3906, 0.3895, 0.3884, 0.3874, 0.3864, 0.3854, 0.3844, 0.3835,
# 0.3827, 0.3818, 0.3810, 0.3802, 0.3795, 0.3788, 0.3781, 0.3774, 0.3767,
# 0.3761, 0.3754, 0.3748, 0.3742, 0.3737, 0.3731, 0.3726, 0.3721, 0.3716,
# 0.3711, 0.3706, 0.3701, 0.3697, 0.3692, 0.3688, 0.3684, 0.3679, 0.3675,
# 0.3671, 0.3668, 0.3664, 0.3660, 0.3657, 0.3653, 0.3650, 0.3647, 0.3643,
# 0.3640, 0.3637, 0.3634, 0.3631, 0.3628, 0.3625, 0.3623, 0.3620, 0.3617,
# 0.3615, 0.3612, 0.3610, 0.3607, 0.3605, 0.3602, 0.3600, 0.3598, 0.3596,
# 0.3593, 0.3591, 0.3589, 0.3587, 0.3585, 0.3583, 0.3581, 0.3579, 0.3577,
# 0.3576, 0.3574, 0.3572, 0.3570, 0.3569, 0.3567, 0.3565, 0.3564, 0.3562,
# 0.3560, 0.3559, 0.3557, 0.3556, 0.3554, 0.3553, 0.3552, 0.3550, 0.3549,
# 0.3547, 0.3546, 0.3545, 0.3544, 0.3542, 0.3541, 0.3540, 0.3539, 0.3537,
# 0.3536, 0.3535, 0.3534, 0.3533, 0.3532, 0.3531, 0.3530, 0.3528, 0.3527,
# 0.3526, 0.3525, 0.3524, 0.3523, 0.3522, 0.3521, 0.3521, 0.3520, 0.3519,
# 0.3518, 0.3517, 0.3516, 0.3515, 0.3514, 0.3513, 0.3513, 0.3512, 0.3511,
# 0.3510, 0.3509, 0.3509, 0.3508, 0.3507, 0.3506, 0.3506, 0.3505, 0.3504,
# 0.3503, 0.3503, 0.3502, 0.3501, 0.3501, 0.3500, 0.3499, 0.3499, 0.3498,
# 0.3497, 0.3497, 0.3496, 0.3496, 0.3495, 0.3494, 0.3494, 0.3493, 0.3493,
# 0.3492, 0.3491, 0.3491, 0.3490, 0.3490, 0.3489, 0.3489, 0.3488, 0.3488,
# 0.3487, 0.3487]
# # rho = 5 0.1
# fedl4 = [0.6931, 0.6897, 0.6839, 0.6774, 0.6712, 0.6654, 0.6600, 0.6549, 0.6502,
# 0.6458, 0.6416, 0.6377, 0.6340, 0.6305, 0.6272, 0.6240, 0.6210, 0.6181,
# 0.6154, 0.6128, 0.6103, 0.6079, 0.6055, 0.6033, 0.6012, 0.5991, 0.5971,
# 0.5952, 0.5933, 0.5915, 0.5897, 0.5880, 0.5864, 0.5848, 0.5832, 0.5817,
# 0.5802, 0.5788, 0.5773, 0.5760, 0.5746, 0.5733, 0.5720, 0.5708, 0.5695,
# 0.5683, 0.5671, 0.5660, 0.5649, 0.5637, 0.5627, 0.5616, 0.5605, 0.5595,
# 0.5585, 0.5575, 0.5565, 0.5556, 0.5546, 0.5537, 0.5528, 0.5519, 0.5510,
# 0.5501, 0.5492, 0.5484, 0.5475, 0.5467, 0.5459, 0.5451, 0.5443, 0.5435,
# 0.5428, 0.5420, 0.5412, 0.5405, 0.5398, 0.5391, 0.5383, 0.5376, 0.5369,
# 0.5362, 0.5356, 0.5349, 0.5342, 0.5336, 0.5329, 0.5323, 0.5317, 0.5310,
# 0.5304, 0.5298, 0.5292, 0.5286, 0.5280, 0.5274, 0.5268, 0.5262, 0.5257,
# 0.5251, 0.5245, 0.5240, 0.5234, 0.5229, 0.5223, 0.5218, 0.5213, 0.5208,
# 0.5202, 0.5197, 0.5192, 0.5187, 0.5182, 0.5177, 0.5172, 0.5167, 0.5162,
# 0.5158, 0.5153, 0.5148, 0.5143, 0.5139, 0.5134, 0.5130, 0.5125, 0.5121,
# 0.5116, 0.5112, 0.5107, 0.5103, 0.5099, 0.5094, 0.5090, 0.5086, 0.5082,
# 0.5077, 0.5073, 0.5069, 0.5065, 0.5061, 0.5057, 0.5053, 0.5049, 0.5045,
# 0.5041, 0.5037, 0.5033, 0.5030, 0.5026, 0.5022, 0.5018, 0.5015, 0.5011,
# 0.5007, 0.5003, 0.5000, 0.4996, 0.4993, 0.4989, 0.4986, 0.4982, 0.4979,
# 0.4975, 0.4972, 0.4968, 0.4965, 0.4961, 0.4958, 0.4955, 0.4951, 0.4948,
# 0.4945, 0.4941, 0.4938, 0.4935, 0.4932, 0.4929, 0.4925, 0.4922, 0.4919,
# 0.4916, 0.4913, 0.4910, 0.4907, 0.4904, 0.4901, 0.4898, 0.4895, 0.4892,
# 0.4889, 0.4886, 0.4883, 0.4880, 0.4877, 0.4874, 0.4871, 0.4868, 0.4865,
# 0.4863, 0.4860]
# # rho = 5 0.4 9 (h_k = 0.01)
# fedl5 = [0.6562, 0.5379, 0.4852, 0.4586, 0.4392, 0.4325, 0.4230, 0.4125, 0.4105,
# 0.4044, 0.3960, 0.3946, 0.3911, 0.3849, 0.3835, 0.3817, 0.3771, 0.3753,
# 0.3742, 0.3711, 0.3692, 0.3683, 0.3664, 0.3648, 0.3640, 0.3627, 0.3613,
# 0.3604, 0.3595, 0.3585, 0.3578, 0.3571, 0.3563, 0.3555, 0.3549, 0.3543,
# 0.3538, 0.3533, 0.3528, 0.3523, 0.3518, 0.3514, 0.3510, 0.3506, 0.3503,
# 0.3499, 0.3496, 0.3493, 0.3490, 0.3487, 0.3485, 0.3482, 0.3480, 0.3477,
# 0.3475, 0.3473, 0.3471, 0.3470, 0.3468, 0.3466, 0.3465, 0.3463, 0.3462,
# 0.3460, 0.3459, 0.3458, 0.3457, 0.3455, 0.3454, 0.3453, 0.3452, 0.3451,
# 0.3451, 0.3450, 0.3449, 0.3448, 0.3448, 0.3447, 0.3446, 0.3446, 0.3445,
# 0.3445, 0.3444, 0.3444, 0.3443, 0.3443, 0.3442, 0.3442, 0.3442, 0.3441,
# 0.3441, 0.3441, 0.3440, 0.3440, 0.3440, 0.3440, 0.3440, 0.3439, 0.3439,
# 0.3439, 0.3439, 0.3439, 0.3439, 0.3439, 0.3439, 0.3439, 0.3439, 0.3439,
# 0.3439, 0.3439, 0.3439, 0.3439, 0.3439, 0.3439, 0.3439, 0.3439, 0.3439,
# 0.3439, 0.3439, 0.3439, 0.3439, 0.3439, 0.3439, 0.3440, 0.3440, 0.3440,
# 0.3440, 0.3440, 0.3440, 0.3440, 0.3441, 0.3441, 0.3441, 0.3441, 0.3441,
# 0.3441, 0.3442, 0.3442, 0.3442, 0.3442, 0.3442, 0.3443, 0.3443, 0.3443,
# 0.3443, 0.3444, 0.3444, 0.3444, 0.3444, 0.3445, 0.3445, 0.3445, 0.3445,
# 0.3446, 0.3446, 0.3446, 0.3446, 0.3447, 0.3447, 0.3447, 0.3447, 0.3448,
# 0.3448, 0.3448, 0.3449, 0.3449, 0.3449, 0.3449, 0.3450, 0.3450, 0.3450,
# 0.3451, 0.3451, 0.3451, 0.3451, 0.3452, 0.3452, 0.3452, 0.3453, 0.3453,
# 0.3453, 0.3454, 0.3454, 0.3454, 0.3454, 0.3455, 0.3455, 0.3455, 0.3456,
# 0.3456, 0.3456, 0.3457, 0.3457, 0.3457, 0.3458, 0.3458, 0.3458, 0.3459,
# 0.3459, 0.3459]
#################################
# h_k = 0.03
#################################
# rho = 5 0.5
fedl = [0.6741, 0.6076, 0.5560, 0.5242, 0.5033, 0.4878, 0.4757, 0.4659, 0.4577,
0.4507, 0.4445, 0.4390, 0.4340, 0.4296, 0.4255, 0.4217, 0.4183, 0.4151,
0.4122, 0.4094, 0.4069, 0.4045, 0.4022, 0.4001, 0.3981, 0.3962, 0.3944,
0.3927, 0.3911, 0.3896, 0.3881, 0.3867, 0.3854, 0.3841, 0.3829, 0.3817,
0.3806, 0.3795, 0.3785, 0.3775, 0.3766, 0.3756, 0.3748, 0.3739, 0.3731,
0.3723, 0.3715, 0.3708, 0.3701, 0.3694, 0.3687, 0.3681, 0.3675, 0.3669,
0.3663, 0.3657, 0.3652, 0.3646, 0.3641, 0.3636, 0.3631, 0.3627, 0.3622,
0.3618, 0.3613, 0.3609, 0.3605, 0.3601, 0.3597, 0.3593, 0.3590, 0.3586,
0.3583, 0.3579, 0.3576, 0.3573, 0.3570, 0.3567, 0.3564, 0.3561, 0.3558,
0.3555, 0.3552, 0.3550, 0.3547, 0.3545, 0.3542, 0.3540, 0.3538, 0.3535,
0.3533, 0.3531, 0.3529, 0.3527, 0.3525, 0.3523, 0.3521, 0.3519, 0.3517,
0.3515, 0.3513, 0.3512, 0.3510, 0.3508, 0.3507, 0.3505, 0.3503, 0.3502,
0.3500, 0.3499, 0.3497, 0.3496, 0.3495, 0.3493, 0.3492, 0.3491, 0.3489,
0.3488, 0.3487, 0.3486, 0.3485, 0.3484, 0.3482, 0.3481, 0.3480, 0.3479,
0.3478, 0.3477, 0.3476, 0.3475, 0.3474, 0.3473, 0.3472, 0.3471, 0.3471,
0.3470, 0.3469, 0.3468, 0.3467, 0.3466, 0.3466, 0.3465, 0.3464, 0.3463,
0.3463, 0.3462, 0.3461, 0.3460, 0.3460, 0.3459, 0.3458, 0.3458, 0.3457,
0.3457, 0.3456, 0.3455, 0.3455, 0.3454, 0.3454, 0.3453, 0.3453, 0.3452,
0.3452, 0.3451, 0.3451, 0.3450, 0.3450, 0.3449, 0.3449, 0.3448, 0.3448,
0.3447, 0.3447, 0.3446, 0.3446, 0.3446, 0.3445, 0.3445, 0.3444, 0.3444,
0.3444, 0.3443, 0.3443, 0.3443, 0.3442, 0.3442, 0.3442, 0.3441, 0.3441,
0.3441, 0.3440, 0.3440, 0.3440, 0.3440, 0.3439, 0.3439, 0.3439, 0.3438,
0.3438, 0.3438]
# rho = 5 1
fedl2 = [0.6517, 0.5450, 0.4926, 0.4702, 0.4531, 0.4376, 0.4259, 0.4173, 0.4105,
0.4054, 0.4012, 0.3972, 0.3933, 0.3899, 0.3870, 0.3845, 0.3823, 0.3804,
0.3785, 0.3768, 0.3752, 0.3737, 0.3724, 0.3712, 0.3701, 0.3690, 0.3681,
0.3671, 0.3663, 0.3655, 0.3647, 0.3640, 0.3634, 0.3627, 0.3622, 0.3616,
0.3611, 0.3606, 0.3601, 0.3596, 0.3592, 0.3588, 0.3584, 0.3581, 0.3577,
0.3574, 0.3570, 0.3567, 0.3564, 0.3562, 0.3559, 0.3556, 0.3554, 0.3551,
0.3549, 0.3547, 0.3545, 0.3543, 0.3541, 0.3539, 0.3537, 0.3535, 0.3533,
0.3532, 0.3530, 0.3528, 0.3527, 0.3525, 0.3524, 0.3523, 0.3521, 0.3520,
0.3519, 0.3518, 0.3516, 0.3515, 0.3514, 0.3513, 0.3512, 0.3511, 0.3510,
0.3509, 0.3508, 0.3507, 0.3506, 0.3505, 0.3505, 0.3504, 0.3503, 0.3502,
0.3501, 0.3501, 0.3500, 0.3499, 0.3499, 0.3498, 0.3497, 0.3497, 0.3496,
0.3495, 0.3495, 0.3494, 0.3494, 0.3493, 0.3493, 0.3492, 0.3492, 0.3491,
0.3491, 0.3490, 0.3490, 0.3489, 0.3489, 0.3488, 0.3488, 0.3487, 0.3487,
0.3487, 0.3486, 0.3486, 0.3486, 0.3485, 0.3485, 0.3484, 0.3484, 0.3484,
0.3483, 0.3483, 0.3483, 0.3483, 0.3482, 0.3482, 0.3482, 0.3481, 0.3481,
0.3481, 0.3481, 0.3480, 0.3480, 0.3480, 0.3480, 0.3479, 0.3479, 0.3479,
0.3479, 0.3478, 0.3478, 0.3478, 0.3478, 0.3478, 0.3477, 0.3477, 0.3477,
0.3477, 0.3477, 0.3476, 0.3476, 0.3476, 0.3476, 0.3476, 0.3476, 0.3475,
0.3475, 0.3475, 0.3475, 0.3475, 0.3475, 0.3475, 0.3474, 0.3474, 0.3474,
0.3474, 0.3474, 0.3474, 0.3474, 0.3474, 0.3474, 0.3473, 0.3473, 0.3473,
0.3473, 0.3473, 0.3473, 0.3473, 0.3473, 0.3473, 0.3472, 0.3472, 0.3472,
0.3472, 0.3472, 0.3472, 0.3472, 0.3472, 0.3472, 0.3472, 0.3472, 0.3472,
0.3472, 0.3471]
# rho = 5 0.01
fedl3 = [0.6969, 0.6909, 0.6886, 0.6868, 0.6852, 0.6838, 0.6826, 0.6815, 0.6805,
0.6796, 0.6788, 0.6780, 0.6772, 0.6766, 0.6759, 0.6753, 0.6747, 0.6742,
0.6737, 0.6732, 0.6727, 0.6722, 0.6718, 0.6713, 0.6709, 0.6705, 0.6701,
0.6697, 0.6693, 0.6689, 0.6686, 0.6682, 0.6679, 0.6675, 0.6672, 0.6669,
0.6666, 0.6662, 0.6659, 0.6656, 0.6653, 0.6650, 0.6648, 0.6645, 0.6642,
0.6639, 0.6637, 0.6634, 0.6631, 0.6629, 0.6626, 0.6624, 0.6621, 0.6619,
0.6617, 0.6614, 0.6612, 0.6610, 0.6607, 0.6605, 0.6603, 0.6601, 0.6599,
0.6597, 0.6595, 0.6593, 0.6591, 0.6589, 0.6587, 0.6585, 0.6583, 0.6581,
0.6579, 0.6578, 0.6576, 0.6574, 0.6572, 0.6571, 0.6569, 0.6567, 0.6566,
0.6564, 0.6563, 0.6561, 0.6560, 0.6558, 0.6557, 0.6555, 0.6554, 0.6552,
0.6551, 0.6550, 0.6548, 0.6547, 0.6546, 0.6544, 0.6543, 0.6542, 0.6540,
0.6539, 0.6538, 0.6537, 0.6536, 0.6534, 0.6533, 0.6532, 0.6531, 0.6530,
0.6529, 0.6528, 0.6527, 0.6526, 0.6525, 0.6524, 0.6523, 0.6522, 0.6521,
0.6520, 0.6519, 0.6518, 0.6517, 0.6516, 0.6516, 0.6515, 0.6514, 0.6513,
0.6512, 0.6511, 0.6511, 0.6510, 0.6509, 0.6508, 0.6508, 0.6507, 0.6506,
0.6506, 0.6505, 0.6504, 0.6504, 0.6503, 0.6502, 0.6502, 0.6501, 0.6501,
0.6500, 0.6499, 0.6499, 0.6498, 0.6498, 0.6497, 0.6497, 0.6496, 0.6496,
0.6495, 0.6495, 0.6494, 0.6494, 0.6493, 0.6493, 0.6492, 0.6492, 0.6492,
0.6491, 0.6491, 0.6491, 0.6490, 0.6490, 0.6489, 0.6489, 0.6489, 0.6488,
0.6488, 0.6488, 0.6488, 0.6487, 0.6487, 0.6487, 0.6487, 0.6486, 0.6486,
0.6486, 0.6486, 0.6485, 0.6485, 0.6485, 0.6485, 0.6485, 0.6485, 0.6484,
0.6484, 0.6484, 0.6484, 0.6484, 0.6484, 0.6484, 0.6484, 0.6483, 0.6483,
0.6483, 0.6483]
# rho = 5 0.1
fedl4 = [0.6947, 0.6768, 0.6596, 0.6450, 0.6328, 0.6223, 0.6133, 0.6053, 0.5983,
0.5920, 0.5862, 0.5810, 0.5762, 0.5717, 0.5675, 0.5636, 0.5599, 0.5565,
0.5532, 0.5501, 0.5471, 0.5443, 0.5416, 0.5390, 0.5365, 0.5342, 0.5319,
0.5297, 0.5275, 0.5255, 0.5235, 0.5216, 0.5197, 0.5179, 0.5161, 0.5144,
0.5128, 0.5111, 0.5096, 0.5080, 0.5065, 0.5051, 0.5037, 0.5023, 0.5009,
0.4996, 0.4983, 0.4970, 0.4958, 0.4945, 0.4933, 0.4922, 0.4910, 0.4899,
0.4888, 0.4877, 0.4867, 0.4856, 0.4846, 0.4836, 0.4826, 0.4816, 0.4807,
0.4797, 0.4788, 0.4779, 0.4770, 0.4761, 0.4752, 0.4744, 0.4735, 0.4727,
0.4719, 0.4711, 0.4703, 0.4695, 0.4687, 0.4680, 0.4672, 0.4665, 0.4657,
0.4650, 0.4643, 0.4636, 0.4629, 0.4622, 0.4615, 0.4609, 0.4602, 0.4596,
0.4589, 0.4583, 0.4577, 0.4570, 0.4564, 0.4558, 0.4552, 0.4546, 0.4540,
0.4534, 0.4529, 0.4523, 0.4517, 0.4512, 0.4506, 0.4501, 0.4496, 0.4490,
0.4485, 0.4480, 0.4475, 0.4469, 0.4464, 0.4459, 0.4454, 0.4450, 0.4445,
0.4440, 0.4435, 0.4430, 0.4426, 0.4421, 0.4416, 0.4412, 0.4407, 0.4403,
0.4399, 0.4394, 0.4390, 0.4385, 0.4381, 0.4377, 0.4373, 0.4369, 0.4365,
0.4360, 0.4356, 0.4352, 0.4348, 0.4344, 0.4341, 0.4337, 0.4333, 0.4329,
0.4325, 0.4321, 0.4318, 0.4314, 0.4310, 0.4307, 0.4303, 0.4300, 0.4296,
0.4293, 0.4289, 0.4286, 0.4282, 0.4279, 0.4275, 0.4272, 0.4269, 0.4265,
0.4262, 0.4259, 0.4256, 0.4252, 0.4249, 0.4246, 0.4243, 0.4240, 0.4237,
0.4234, 0.4230, 0.4227, 0.4224, 0.4221, 0.4219, 0.4216, 0.4213, 0.4210,
0.4207, 0.4204, 0.4201, 0.4198, 0.4196, 0.4193, 0.4190, 0.4187, 0.4184,
0.4182, 0.4179, 0.4176, 0.4174, 0.4171, 0.4168, 0.4166, 0.4163, 0.4161,
0.4158, 0.4156]
fedl5 = [0.6835, 0.6382, 0.5988, 0.5710, 0.5510, 0.5358, 0.5238, 0.5138, 0.5054,
0.4980, 0.4915, 0.4856, 0.4803, 0.4755, 0.4710, 0.4669, 0.4631, 0.4595,
0.4562, 0.4530, 0.4500, 0.4472, 0.4446, 0.4420, 0.4396, 0.4373, 0.4352,
0.4331, 0.4311, 0.4291, 0.4273, 0.4255, 0.4238, 0.4222, 0.4206, 0.4191,
0.4176, 0.4162, 0.4148, 0.4135, 0.4122, 0.4110, 0.4098, 0.4086, 0.4075,
0.4064, 0.4053, 0.4043, 0.4032, 0.4023, 0.4013, 0.4004, 0.3995, 0.3986,
0.3977, 0.3969, 0.3961, 0.3953, 0.3945, 0.3938, 0.3930, 0.3923, 0.3916,
0.3909, 0.3902, 0.3896, 0.3889, 0.3883, 0.3877, 0.3871, 0.3865, 0.3859,
0.3854, 0.3848, 0.3843, 0.3837, 0.3832, 0.3827, 0.3822, 0.3817, 0.3812,
0.3808, 0.3803, 0.3798, 0.3794, 0.3790, 0.3785, 0.3781, 0.3777, 0.3773,
0.3769, 0.3765, 0.3761, 0.3758, 0.3754, 0.3750, 0.3747, 0.3743, 0.3740,
0.3736, 0.3733, 0.3730, 0.3727, 0.3723, 0.3720, 0.3717, 0.3714, 0.3711,
0.3708, 0.3705, 0.3703, 0.3700, 0.3697, 0.3694, 0.3692, 0.3689, 0.3687,
0.3684, 0.3682, 0.3679, 0.3677, 0.3674, 0.3672, 0.3670, 0.3667, 0.3665,
0.3663, 0.3661, 0.3659, 0.3656, 0.3654, 0.3652, 0.3650, 0.3648, 0.3646,
0.3644, 0.3642, 0.3640, 0.3639, 0.3637, 0.3635, 0.3633, 0.3631, 0.3630,
0.3628, 0.3626, 0.3625, 0.3623, 0.3621, 0.3620, 0.3618, 0.3617, 0.3615,
0.3613, 0.3612, 0.3610, 0.3609, 0.3608, 0.3606, 0.3605, 0.3603, 0.3602,
0.3601, 0.3599, 0.3598, 0.3597, 0.3595, 0.3594, 0.3593, 0.3591, 0.3590,
0.3589, 0.3588, 0.3587, 0.3585, 0.3584, 0.3583, 0.3582, 0.3581, 0.3580,
0.3579, 0.3578, 0.3577, 0.3576, 0.3575, 0.3573, 0.3572, 0.3571, 0.3570,
0.3569, 0.3569, 0.3568, 0.3567, 0.3566, 0.3565, 0.3564, 0.3563, 0.3562,
0.3561, 0.3560]
# plt.figure()
# plt.title("FEDL on Synthetic: $K_l=10$, $\\rho = 5$, $h_k=0.03$", size=14)
# # plt.plot(range(200), avg, label='FedAvg: $K_l=20$, $h_k=0.01$')
# # plt.plot(range(200), fedl2, label='$\eta=0$')
# # plt.plot(range(200), fedl4, label='$\eta=0.1$')
# plt.plot(range(200), fedl3, label='$\eta=0.01$')
# plt.plot(range(200), fedl4, label='$\eta=0.1$')
# plt.plot(range(200), fedl5, label='$\eta=0.3$')
# plt.plot(range(200), fedl, label='$\eta=0.5$')
# plt.plot(range(200), fedl2, label='$\eta=1.0$')
# # plt.plot(range(200), fedl3, label='$\eta=1$')
# # plt.plot(range(200), fedl5, label='$\eta=0.4$')
# plt.ylim([0.33, 0.73])
# plt.ylabel("Training Loss", size=13)
# plt.xlabel("$K_g$", size=13)
# # plt.xlim([0,25])
# plt.legend()
# plt.savefig("train_loss.png")
plt.figure()
fig = plt.figure(figsize=(11, 4.5))
ax = fig.add_subplot(111)
ax1 = fig.add_subplot(121)
ax2 = fig.add_subplot(122)
# ax, (ax1, ax2) = plt.subplots(1, 2, figsize=(10, 4.5))
# ax.set_ylim([0.33, 0.7])
ax.spines["top"].set_color("none")
ax.spines["bottom"].set_color("none")
ax.spines["left"].set_color("none")
ax.spines["right"].set_color("none")
ax.tick_params(axis='x', labelcolor="w", top=False, bottom=False, left=False, right=False)
ax.tick_params(axis='y', labelcolor="w", top=False, bottom=False, left=False, right=False)
ax1.plot(range(200), jfedl, label='$\eta=0.3$')
ax1.plot(range(200), jfedl2, label='$\eta=1.0$')
ax1.plot(range(200), jfedl3, label='$\eta=1.5$')
ax1.legend()
ax1.set_ylim([0.33, 0.7])
ax1.set_title("Logistic Regression: $\\rho = 2.5$, $h_k=0.1$", size=14.5, pad=10)
ax2.plot(range(200), fedl3, label='$\eta=0.01$')
ax2.plot(range(200), fedl4, label='$\eta=0.1$')
ax2.plot(range(200), fedl5, label='$\eta=0.3$')
ax2.plot(range(200), fedl, label='$\eta=0.5$')
ax2.plot(range(200), fedl2, label='$\eta=1.0$')
ax2.set_ylim([0.33, 0.7])
ax2.set_title("Logistic Regression: $\\rho = 5$, $h_k=0.03$", size=14.5, pad=10)
ax2.legend()
ax.set_xlabel("Global rounds $K_g$", size=12)
ax.set_ylabel("Training Loss", size=12, labelpad=12)
plt.savefig("josh.pdf", bbox_inches='tight')
# plt.savefig("Effects_of_eta.pdf")