Research Article
Nakamoto Consensus to Accelerate Supervised Classification Algorithms for Multiparty Computing
Algorithm 1
RapidTrainChain’s accuracy.
| | Result: Accuracy of RapidTrainChain, P | | Input: | | Number of nodes, |Nodes|; | | Accuracy of a node, p; | | Number of classifications, |Cx|; | | Function: | | Decompose (nodes_number_range_of_a_classification, remaining_nodes, remaining_classifications) | | if nodes_number_range_o f _a_classification > 1 then | | foreach x ∈ nodes_number_range_of_a_classification do | | ; | | map<x>++; | | end | | else | | 1; | | end;return | | cnt = tmp = 1; | | foreach iterator ∈ map do | | ; | | cnt = cnt + iterator- > second; | | end | | return | | | ; |
|