Skip to main content
. 2019 May 28;19(11):2440. doi: 10.3390/s19112440
Algorithm 3 CPNN-based sensor nodes’ authentication.
Input: The ith CSI to authenticate xi
Output: The label of unknown CSI y^i, the new weight matrix W, and threshold vector ξ of CPNN
1: Initialize: training the CNN by the pre-acquired CSIs to obtain the convolution kernels V; the dataset D=x¯k,ykk=1m obtained by convolution; the weights W0 and thresholds ξ0 in the neural network will be obtained through the training of CPNN, using dataset D=x¯k,ykk=1m;
2: Convolution pre-processing of the CSI xi into x¯i;
3: Compute y^i by the well-trained CPNN;
4: Update the training set D=x¯k,ykk=1m by xi,y^i;
5: Retrain the CPNN by the new dataset, and get new weight matrix W and threshold vector ξ;
6: Return y^i, W, ξ.