Research Article
Efficient Personalized Recommendation Based on Federated Learning with Similarity Ciphertext Calculation
Algorithm 2
Update Reliability score.
| | Input: , , , | | | Output: | | (24) | Eachdoes: | | (25) | ; | | | for do | | (26) | calculate following equation (22); | | (27) | ; | | (28) | ifthen | | (29) | send to the Cloud server; | | (30) | ; | | (31) | end | | (32) | end | | (33) | The Cloud server does: | | (34) | for each do | | (35) | fordo | | (36) | calculate following equation (23); | | | ifthen | | (37) | calculate following equation (24); | | (38) | end | | (39) | end | | (40) | calculate following equation (25); | | (41) | ; | | (42) | end | | (43) | return |
|