|
Algorithm 4 Coded sI-ADMM (csI-ADMM) |
-
1:
initialize: , batch size ;
-
2:
Local Data Allocation:
-
3:
fordo
-
4:
divide labeled data based on repetition schemes in [34] and denote each partition as ;
-
5:
for do
-
6:
allocate to ECN j;
-
7:
partition examples into multiple batches with each size ;
-
8:
end for
-
9:
end for
-
10:
Updating Process:
-
11:
fordo
-
12:
Steps of Active Agent :
-
13:
run steps 13–14 of Algorithm 3
-
14:
ECN computes gradient in parallel:
-
15:
run step 16 of Algorithm 3
-
16:
-
17:
update via encoding function ;
-
18:
transmit to the connected agent;
-
19:
until the -th fast responded message is received;
-
20:
update gradient via decoding function ;
-
21:
run steps 22–26 of Algorithm 3;
-
22:
end for
|