Research Article
Efficient Personalized Recommendation Based on Federated Learning with Similarity Ciphertext Calculation
| | Input: , , , , , , and | | | Output: | | (1) | The Cloud server does: | | (2) | if then | | (3) | ifthen | | (4) | ; | | (5) | end | | (6) | else | | (7) | while (the number of collected ! = j) do | | (8) | choose Agents which satisfy: | | | collecting from ; | | (9) | end | | (10) | fordo | | (11) | calculate following equation (13); | | (12) | end | | (13) | calculate following equation (14); | | (14) | end | | (15) | calculate following equation (15)–(17); | | (16) | choose : ; | | (17) | Calculate ; | | (18) | end | | (19) | The Agent does: | | (20) | if then | | (21) | SOMC.Enc; | | | ; | | | send to the Cloud server | | (22) | end | | (23) | return |
|