Added average error figure

This commit is contained in:
Andreas Tsouchlos 2023-04-17 16:45:33 +02:00
parent a3f32faa64
commit e30019b404
3 changed files with 307 additions and 1 deletions

View File

@ -999,7 +999,7 @@ return $\tilde{\boldsymbol{c}}$
\end{tikzpicture}
\caption{Visualization of the relationship between the decoding performance%
\protect\footnotemark{}and the parameter $\mu$}
\protect\footnotemark{} and the parameter $\mu$}
\label{fig:admm:results}
\end{figure}%
%
@ -1008,3 +1008,56 @@ return $\tilde{\boldsymbol{c}}$
\epsilon_\text{dual} = 10^{-5}$
}%
%
\begin{figure}[H]
\centering
\begin{tikzpicture}
\begin{axis}[
grid=both,
width=0.6\textwidth,
height=0.45\textwidth,
xlabel={Iteration}, ylabel={Average $\left\Vert \hat{\boldsymbol{c}}
- \boldsymbol{c} \right\Vert$}
]
\addplot[ForestGreen, line width=1pt]
table [col sep=comma, x=k, y=err,
discard if not={SNR}{1.0},
discard if gt={k}{100}]
{res/admm/avg_error_20433484.csv};
\addlegendentry{$E_b / N_0 = \SI{1}{dB}$}
\addplot[RedOrange, line width=1pt]
table [col sep=comma, x=k, y=err,
discard if not={SNR}{2.0},
discard if gt={k}{100}]
{res/admm/avg_error_20433484.csv};
\addlegendentry{$E_b / N_0 = \SI{2}{dB}$}
\addplot[NavyBlue, line width=1pt]
table [col sep=comma, x=k, y=err,
discard if not={SNR}{3.0},
discard if gt={k}{100}]
{res/admm/avg_error_20433484.csv};
\addlegendentry{$E_b / N_0 = \SI{3}{dB}$}
\addplot[RoyalPurple, line width=1pt]
table [col sep=comma, x=k, y=err,
discard if not={SNR}{4.0},
discard if gt={k}{100}]
{res/admm/avg_error_20433484.csv};
\addlegendentry{$E_b / N_0 = \SI{4}{dB}$}
\end{axis}
\end{tikzpicture}
\caption{Average error for $\SI{100000}{}$ decodings\protect\footnotemark{}}
\label{fig:}
\end{figure}%
%
\footnotetext{(3,6) regular \ac{LDPC} code with $n = 204$, $k = 102$
\cite[\text{204.33.484}]{mackay_enc}; $K=200, \rho=1, \epsilon_\text{pri} = 10^{-5},
\epsilon_\text{dual} = 10^{-5}$
}%
%

View File

@ -0,0 +1,241 @@
k,SNR,err
1.0,1.0,20.91491649335093
6.0,1.0,14.673283601370503
11.0,1.0,13.200462933259713
16.0,1.0,12.5022317077578
21.0,1.0,12.114259641732986
26.0,1.0,11.940451032359299
31.0,1.0,11.916152333099207
36.0,1.0,11.985684616964807
41.0,1.0,12.124506177073048
46.0,1.0,12.281166456201795
51.0,1.0,12.437905617375852
56.0,1.0,12.59626111585147
61.0,1.0,12.744247538734976
66.0,1.0,12.893211714161616
71.0,1.0,13.026341002483601
76.0,1.0,13.143235246361908
81.0,1.0,13.25843101153651
86.0,1.0,13.36152607235254
91.0,1.0,13.458411398075643
96.0,1.0,13.55128433836517
101.0,1.0,13.634716127797692
106.0,1.0,13.704546715908265
111.0,1.0,13.78369927212415
116.0,1.0,13.852191301732066
121.0,1.0,13.914766161475022
126.0,1.0,13.970313339683377
131.0,1.0,14.017699152788985
136.0,1.0,14.069031690817802
141.0,1.0,14.121378603565562
146.0,1.0,14.165863354117976
151.0,1.0,14.206734612178787
156.0,1.0,14.24557674285502
161.0,1.0,14.284004797888281
166.0,1.0,14.316221675079142
171.0,1.0,14.34367036238877
176.0,1.0,14.375740060276517
181.0,1.0,14.413785624165634
186.0,1.0,14.43695431307512
191.0,1.0,14.458957345676207
196.0,1.0,14.481729662652462
1.0,2.0,16.134654041899402
6.0,2.0,8.556073822474437
11.0,2.0,6.213782534401913
16.0,2.0,5.011889081220674
21.0,2.0,4.566993729558366
26.0,2.0,4.590739128858202
31.0,2.0,4.830574092938118
36.0,2.0,5.176990474892537
41.0,2.0,5.5431281292818495
46.0,2.0,5.915063685420125
51.0,2.0,6.257013207015733
56.0,2.0,6.570533204989702
61.0,2.0,6.858655241745002
66.0,2.0,7.111627561111664
71.0,2.0,7.354086198030697
76.0,2.0,7.578434950992218
81.0,2.0,7.784726030238063
86.0,2.0,7.969240781478449
91.0,2.0,8.138537010639057
96.0,2.0,8.29360005331358
101.0,2.0,8.436412726454238
106.0,2.0,8.57253681788219
111.0,2.0,8.68865267709653
116.0,2.0,8.80498836016572
121.0,2.0,8.912429177130857
126.0,2.0,8.99701274851312
131.0,2.0,9.088987808961926
136.0,2.0,9.176475701046021
141.0,2.0,9.255112937079815
146.0,2.0,9.327689862233216
151.0,2.0,9.38855838516752
156.0,2.0,9.45713453794913
161.0,2.0,9.520056275436863
166.0,2.0,9.571399471130766
171.0,2.0,9.628068685236707
176.0,2.0,9.68170878281504
181.0,2.0,9.727962943099527
186.0,2.0,9.773695675352934
191.0,2.0,9.81660407009979
196.0,2.0,9.861528919057307
1.0,3.0,11.789165775894825
6.0,3.0,3.816709417451862
11.0,3.0,1.6752991919117708
16.0,3.0,1.0392606390307797
21.0,3.0,1.0628023119067522
26.0,3.0,1.288703640979824
31.0,3.0,1.6088660653014168
36.0,3.0,1.9852723011464584
41.0,3.0,2.358549152174719
46.0,3.0,2.761128041476725
51.0,3.0,3.1471331133456775
56.0,3.0,3.5005212529393144
61.0,3.0,3.825983052887548
66.0,3.0,4.136788212756503
71.0,3.0,4.421620293960815
76.0,3.0,4.620869881557296
81.0,3.0,4.859351192648304
86.0,3.0,5.044330647512259
91.0,3.0,5.214888113324626
96.0,3.0,5.415121524386491
101.0,3.0,5.586539654622247
106.0,3.0,5.7354347746812815
111.0,3.0,5.879142913998661
116.0,3.0,5.99075956022528
121.0,3.0,6.09238408599562
126.0,3.0,6.1879571075588835
131.0,3.0,6.292309659727661
136.0,3.0,6.357998975206197
141.0,3.0,6.434081884548063
146.0,3.0,6.523355968345268
151.0,3.0,6.618473783083535
156.0,3.0,6.7337568052149095
161.0,3.0,6.79798349882911
166.0,3.0,6.84529131759905
171.0,3.0,6.892543885555942
176.0,3.0,6.942528503712422
181.0,3.0,7.004113070816406
186.0,3.0,7.052231635274817
191.0,3.0,7.092653194849312
196.0,3.0,7.144636665117471
1.0,4.0,8.08220518324194
6.0,4.0,1.2113357663834143
11.0,4.0,0.22349629086100364
16.0,4.0,0.14618449224796007
21.0,4.0,0.22599943256013053
26.0,4.0,0.37341871923374276
31.0,4.0,0.5664820792004165
36.0,4.0,0.8130282104316755
41.0,4.0,1.1587477634828214
46.0,4.0,1.4177978825616833
51.0,4.0,1.6860775948430722
56.0,4.0,1.8213817657267923
61.0,4.0,2.098084697074224
66.0,4.0,2.3675056974941286
71.0,4.0,2.633697805611984
76.0,4.0,2.9474643545658434
81.0,4.0,3.0230241471772206
86.0,4.0,3.1708874460335927
91.0,4.0,3.2761528754363924
96.0,4.0,3.4143415775833956
101.0,4.0,3.586306987009883
106.0,4.0,3.8016546152270965
111.0,4.0,3.78351865979343
116.0,4.0,3.913823175867467
121.0,4.0,4.15275023114524
126.0,4.0,4.174516814967082
131.0,4.0,4.38936642989745
136.0,4.0,4.752947612978367
141.0,4.0,4.706655676528805
146.0,4.0,4.901292975113155
151.0,4.0,4.867799374365887
156.0,4.0,4.961112877373201
161.0,4.0,5.195795713924483
166.0,4.0,5.306213974877493
171.0,4.0,5.42690318120553
176.0,4.0,5.400111172164723
181.0,4.0,5.374450129090998
186.0,4.0,5.506435745627798
191.0,4.0,5.47971664734396
196.0,4.0,5.792049970684826
1.0,5.0,5.162002086132225
6.0,5.0,0.27891528762187506
11.0,5.0,0.021195076652084144
16.0,5.0,0.02523094440476598
21.0,5.0,0.06877349325022895
26.0,5.0,0.1329787505628861
31.0,5.0,0.16950031921924608
36.0,5.0,0.19828706973492322
41.0,5.0,0.33811691967972946
46.0,5.0,0.3532038991763932
51.0,5.0,0.11733695204945241
56.0,5.0,0.00043192902347876955
61.0,5.0,0.0
66.0,5.0,5e-324
71.0,5.0,6.91198954571554e-310
76.0,5.0,4.67465005828325e-310
81.0,5.0,4.409744504302253e-235
86.0,5.0,0.0
91.0,5.0,4.6746500902386e-310
96.0,5.0,4.409744504324994e-235
101.0,5.0,1.6093e-319
106.0,5.0,2.33419537016e-313
111.0,5.0,5e-324
116.0,5.0,4.67465009179513e-310
121.0,5.0,4.6746498503836e-310
126.0,5.0,4.6746498503836e-310
131.0,5.0,4.4371949547837924e-235
136.0,5.0,1.35e-321
141.0,5.0,4.67465004549525e-310
146.0,5.0,4.382030107181462e-235
151.0,5.0,0.0
156.0,5.0,0.0
161.0,5.0,4.0490014339232835e-235
166.0,5.0,0.0
171.0,5.0,6.9119895280519e-310
176.0,5.0,5e-324
181.0,5.0,4.6746487621775e-310
186.0,5.0,0.0
191.0,5.0,1.5e-323
196.0,5.0,4.4085447468738776e-235
1.0,6.0,3.031680057151526
6.0,6.0,0.05333026561685521
11.0,6.0,0.002676162465853709
16.0,6.0,0.007346181683092963
21.0,6.0,0.03846534626344263
26.0,6.0,0.07801802186532696
31.0,6.0,0.0009001870238587752
36.0,6.0,0.0
41.0,6.0,0.0
46.0,6.0,0.0
51.0,6.0,0.0
56.0,6.0,0.0
61.0,6.0,0.0
66.0,6.0,0.0
71.0,6.0,0.0
76.0,6.0,0.0
81.0,6.0,0.0
86.0,6.0,0.0
91.0,6.0,0.0
96.0,6.0,0.0
101.0,6.0,0.0
106.0,6.0,0.0
111.0,6.0,0.0
116.0,6.0,0.0
121.0,6.0,0.0
126.0,6.0,0.0
131.0,6.0,0.0
136.0,6.0,0.0
141.0,6.0,0.0
146.0,6.0,0.0
151.0,6.0,0.0
156.0,6.0,0.0
161.0,6.0,0.0
166.0,6.0,0.0
171.0,6.0,0.0
176.0,6.0,0.0
181.0,6.0,0.0
186.0,6.0,0.0
191.0,6.0,0.0
196.0,6.0,0.0
1 k SNR err
2 1.0 1.0 20.91491649335093
3 6.0 1.0 14.673283601370503
4 11.0 1.0 13.200462933259713
5 16.0 1.0 12.5022317077578
6 21.0 1.0 12.114259641732986
7 26.0 1.0 11.940451032359299
8 31.0 1.0 11.916152333099207
9 36.0 1.0 11.985684616964807
10 41.0 1.0 12.124506177073048
11 46.0 1.0 12.281166456201795
12 51.0 1.0 12.437905617375852
13 56.0 1.0 12.59626111585147
14 61.0 1.0 12.744247538734976
15 66.0 1.0 12.893211714161616
16 71.0 1.0 13.026341002483601
17 76.0 1.0 13.143235246361908
18 81.0 1.0 13.25843101153651
19 86.0 1.0 13.36152607235254
20 91.0 1.0 13.458411398075643
21 96.0 1.0 13.55128433836517
22 101.0 1.0 13.634716127797692
23 106.0 1.0 13.704546715908265
24 111.0 1.0 13.78369927212415
25 116.0 1.0 13.852191301732066
26 121.0 1.0 13.914766161475022
27 126.0 1.0 13.970313339683377
28 131.0 1.0 14.017699152788985
29 136.0 1.0 14.069031690817802
30 141.0 1.0 14.121378603565562
31 146.0 1.0 14.165863354117976
32 151.0 1.0 14.206734612178787
33 156.0 1.0 14.24557674285502
34 161.0 1.0 14.284004797888281
35 166.0 1.0 14.316221675079142
36 171.0 1.0 14.34367036238877
37 176.0 1.0 14.375740060276517
38 181.0 1.0 14.413785624165634
39 186.0 1.0 14.43695431307512
40 191.0 1.0 14.458957345676207
41 196.0 1.0 14.481729662652462
42 1.0 2.0 16.134654041899402
43 6.0 2.0 8.556073822474437
44 11.0 2.0 6.213782534401913
45 16.0 2.0 5.011889081220674
46 21.0 2.0 4.566993729558366
47 26.0 2.0 4.590739128858202
48 31.0 2.0 4.830574092938118
49 36.0 2.0 5.176990474892537
50 41.0 2.0 5.5431281292818495
51 46.0 2.0 5.915063685420125
52 51.0 2.0 6.257013207015733
53 56.0 2.0 6.570533204989702
54 61.0 2.0 6.858655241745002
55 66.0 2.0 7.111627561111664
56 71.0 2.0 7.354086198030697
57 76.0 2.0 7.578434950992218
58 81.0 2.0 7.784726030238063
59 86.0 2.0 7.969240781478449
60 91.0 2.0 8.138537010639057
61 96.0 2.0 8.29360005331358
62 101.0 2.0 8.436412726454238
63 106.0 2.0 8.57253681788219
64 111.0 2.0 8.68865267709653
65 116.0 2.0 8.80498836016572
66 121.0 2.0 8.912429177130857
67 126.0 2.0 8.99701274851312
68 131.0 2.0 9.088987808961926
69 136.0 2.0 9.176475701046021
70 141.0 2.0 9.255112937079815
71 146.0 2.0 9.327689862233216
72 151.0 2.0 9.38855838516752
73 156.0 2.0 9.45713453794913
74 161.0 2.0 9.520056275436863
75 166.0 2.0 9.571399471130766
76 171.0 2.0 9.628068685236707
77 176.0 2.0 9.68170878281504
78 181.0 2.0 9.727962943099527
79 186.0 2.0 9.773695675352934
80 191.0 2.0 9.81660407009979
81 196.0 2.0 9.861528919057307
82 1.0 3.0 11.789165775894825
83 6.0 3.0 3.816709417451862
84 11.0 3.0 1.6752991919117708
85 16.0 3.0 1.0392606390307797
86 21.0 3.0 1.0628023119067522
87 26.0 3.0 1.288703640979824
88 31.0 3.0 1.6088660653014168
89 36.0 3.0 1.9852723011464584
90 41.0 3.0 2.358549152174719
91 46.0 3.0 2.761128041476725
92 51.0 3.0 3.1471331133456775
93 56.0 3.0 3.5005212529393144
94 61.0 3.0 3.825983052887548
95 66.0 3.0 4.136788212756503
96 71.0 3.0 4.421620293960815
97 76.0 3.0 4.620869881557296
98 81.0 3.0 4.859351192648304
99 86.0 3.0 5.044330647512259
100 91.0 3.0 5.214888113324626
101 96.0 3.0 5.415121524386491
102 101.0 3.0 5.586539654622247
103 106.0 3.0 5.7354347746812815
104 111.0 3.0 5.879142913998661
105 116.0 3.0 5.99075956022528
106 121.0 3.0 6.09238408599562
107 126.0 3.0 6.1879571075588835
108 131.0 3.0 6.292309659727661
109 136.0 3.0 6.357998975206197
110 141.0 3.0 6.434081884548063
111 146.0 3.0 6.523355968345268
112 151.0 3.0 6.618473783083535
113 156.0 3.0 6.7337568052149095
114 161.0 3.0 6.79798349882911
115 166.0 3.0 6.84529131759905
116 171.0 3.0 6.892543885555942
117 176.0 3.0 6.942528503712422
118 181.0 3.0 7.004113070816406
119 186.0 3.0 7.052231635274817
120 191.0 3.0 7.092653194849312
121 196.0 3.0 7.144636665117471
122 1.0 4.0 8.08220518324194
123 6.0 4.0 1.2113357663834143
124 11.0 4.0 0.22349629086100364
125 16.0 4.0 0.14618449224796007
126 21.0 4.0 0.22599943256013053
127 26.0 4.0 0.37341871923374276
128 31.0 4.0 0.5664820792004165
129 36.0 4.0 0.8130282104316755
130 41.0 4.0 1.1587477634828214
131 46.0 4.0 1.4177978825616833
132 51.0 4.0 1.6860775948430722
133 56.0 4.0 1.8213817657267923
134 61.0 4.0 2.098084697074224
135 66.0 4.0 2.3675056974941286
136 71.0 4.0 2.633697805611984
137 76.0 4.0 2.9474643545658434
138 81.0 4.0 3.0230241471772206
139 86.0 4.0 3.1708874460335927
140 91.0 4.0 3.2761528754363924
141 96.0 4.0 3.4143415775833956
142 101.0 4.0 3.586306987009883
143 106.0 4.0 3.8016546152270965
144 111.0 4.0 3.78351865979343
145 116.0 4.0 3.913823175867467
146 121.0 4.0 4.15275023114524
147 126.0 4.0 4.174516814967082
148 131.0 4.0 4.38936642989745
149 136.0 4.0 4.752947612978367
150 141.0 4.0 4.706655676528805
151 146.0 4.0 4.901292975113155
152 151.0 4.0 4.867799374365887
153 156.0 4.0 4.961112877373201
154 161.0 4.0 5.195795713924483
155 166.0 4.0 5.306213974877493
156 171.0 4.0 5.42690318120553
157 176.0 4.0 5.400111172164723
158 181.0 4.0 5.374450129090998
159 186.0 4.0 5.506435745627798
160 191.0 4.0 5.47971664734396
161 196.0 4.0 5.792049970684826
162 1.0 5.0 5.162002086132225
163 6.0 5.0 0.27891528762187506
164 11.0 5.0 0.021195076652084144
165 16.0 5.0 0.02523094440476598
166 21.0 5.0 0.06877349325022895
167 26.0 5.0 0.1329787505628861
168 31.0 5.0 0.16950031921924608
169 36.0 5.0 0.19828706973492322
170 41.0 5.0 0.33811691967972946
171 46.0 5.0 0.3532038991763932
172 51.0 5.0 0.11733695204945241
173 56.0 5.0 0.00043192902347876955
174 61.0 5.0 0.0
175 66.0 5.0 5e-324
176 71.0 5.0 6.91198954571554e-310
177 76.0 5.0 4.67465005828325e-310
178 81.0 5.0 4.409744504302253e-235
179 86.0 5.0 0.0
180 91.0 5.0 4.6746500902386e-310
181 96.0 5.0 4.409744504324994e-235
182 101.0 5.0 1.6093e-319
183 106.0 5.0 2.33419537016e-313
184 111.0 5.0 5e-324
185 116.0 5.0 4.67465009179513e-310
186 121.0 5.0 4.6746498503836e-310
187 126.0 5.0 4.6746498503836e-310
188 131.0 5.0 4.4371949547837924e-235
189 136.0 5.0 1.35e-321
190 141.0 5.0 4.67465004549525e-310
191 146.0 5.0 4.382030107181462e-235
192 151.0 5.0 0.0
193 156.0 5.0 0.0
194 161.0 5.0 4.0490014339232835e-235
195 166.0 5.0 0.0
196 171.0 5.0 6.9119895280519e-310
197 176.0 5.0 5e-324
198 181.0 5.0 4.6746487621775e-310
199 186.0 5.0 0.0
200 191.0 5.0 1.5e-323
201 196.0 5.0 4.4085447468738776e-235
202 1.0 6.0 3.031680057151526
203 6.0 6.0 0.05333026561685521
204 11.0 6.0 0.002676162465853709
205 16.0 6.0 0.007346181683092963
206 21.0 6.0 0.03846534626344263
207 26.0 6.0 0.07801802186532696
208 31.0 6.0 0.0009001870238587752
209 36.0 6.0 0.0
210 41.0 6.0 0.0
211 46.0 6.0 0.0
212 51.0 6.0 0.0
213 56.0 6.0 0.0
214 61.0 6.0 0.0
215 66.0 6.0 0.0
216 71.0 6.0 0.0
217 76.0 6.0 0.0
218 81.0 6.0 0.0
219 86.0 6.0 0.0
220 91.0 6.0 0.0
221 96.0 6.0 0.0
222 101.0 6.0 0.0
223 106.0 6.0 0.0
224 111.0 6.0 0.0
225 116.0 6.0 0.0
226 121.0 6.0 0.0
227 126.0 6.0 0.0
228 131.0 6.0 0.0
229 136.0 6.0 0.0
230 141.0 6.0 0.0
231 146.0 6.0 0.0
232 151.0 6.0 0.0
233 156.0 6.0 0.0
234 161.0 6.0 0.0
235 166.0 6.0 0.0
236 171.0 6.0 0.0
237 176.0 6.0 0.0
238 181.0 6.0 0.0
239 186.0 6.0 0.0
240 191.0 6.0 0.0
241 196.0 6.0 0.0

View File

@ -0,0 +1,12 @@
{
"duration": 993.1899228320108,
"name": "avg_error_20433484",
"platform": "Linux-6.2.10-arch1-1-x86_64-with-glibc2.37",
"K": 200,
"epsilon_pri": 1e-05,
"mu": 5,
"rho": 1.0,
"epsilon_dual": 1e-05,
"num_iterations": 100000,
"end_time": "2023-04-17 16:32:11.491868"
}