|
Algorithm 3 CPNN-based sensor nodes’ authentication. |
|
Input: The CSI to authenticate
|
|
Output: The label of unknown CSI , the new weight matrix , and threshold vector of CPNN |
| 1: Initialize: training the CNN by the pre-acquired CSIs to obtain the convolution kernels ; the dataset obtained by convolution; the weights and thresholds in the neural network will be obtained through the training of CPNN, using dataset ; |
| 2: Convolution pre-processing of the CSI into ; |
| 3: Compute by the well-trained CPNN; |
| 4: Update the training set by ; |
| 5: Retrain the CPNN by the new dataset, and get new weight matrix and threshold vector ; |
| 6: Return , , . |