Algorithm 3 . Add federated client training model contract.
Input: Receive training model parameters |
Output: Store the training model parameters |
Step 1: Receive training model parameters in json |
Step 2: Parse the message |
Step 3: Search the repository of particular model |
Step 4: If Search model is found |
Step 4.1: Call the synchronization contract |
Step 4.2: Else Create the new profile |
Step 5: Store the models in the blockchain |