Skip to main content
. 2021 Aug 19;21(16):5583. doi: 10.3390/s21165583
Algorithm 1 Proposed localization procedure.
  • <Offline stage>

  • Input

  •     Training set R: The set of dual-band RSS vector, ri=[ri2.4,ri5.2],

  •     and ground truth distance di for each sample

  •     Validation set V: The set of validation data, which are same kind of data as,

  •     but not included in the training set

  • Initialize a neural network described in Figure 4 with random weights, biases, and normalization parameters.

  • for all training data grouped by mini-batch size of KB, do

  •     Forward calculation for the NN

  •     The output yi is a result of the last layer of the NN

  •     Calculate the average MSE between yi and di in the mini-batch

  •     Update parameters of the NN, by using back–propagation

  • end for

  • Find best–fit parameters of the NN that minimize MSE for the validation set

  • Output Trained NN as a deep regression model

  • <Online stage>

  • Input

  •     Test data location of N APs and N RSS vector

  • Set a confidence threshold Thc

  • for each i-th AP do

  •     Predict d^i using the trained NN

  • end for

  • Find target position x^, using Equations (5)–(7)

  • Output: Position estimate of target device x^=[x^,y^]T