Research Article

Privacy-Preserving Blockchain-Based Nonlinear SVM Classifier Training for Social Networks

Algorithm 1

Secure Gaussian kernel function.
Input:: the shared vectors , , and ; : the shared vectors , , and .
Output:: the shared Gaussian kernel result ; : the shared Gaussian kernel result .
(1) initialize .
(2)for from 1 to do
(3) locally compute .
(4) compute .
(5) locally compute .
(6)end for
(7) locally compute .
(8) compute .