Skip to main content
. 2024 Dec 16;24(24):8027. doi: 10.3390/s24248027
Algorithm 1 GPR-VLP with Data-Efficient Training Based on Active Learning (AL-GPR)
Input: training dataset D, the numbers of the initial and final effective training data (m and E, respectively), kernel function k, measurement sT at an unknown location.
Output: estimated position p^T and its confidence σT2.
* Active Learning:
  Initialization: Divide D into an initial effective training dataset De0(De0=m) with m data randomly drawn from D and the corresponding complement dataset D0 (De0=Dm).
While the number of data in Dei after ith iteration is no larger than E (i.e., Dei< E) do
1. evaluate the similarity of data in Di to Dei using (4) with Dei as the training dataset. To be specific, for each data dx=sx,pxDi, calculate σx2=Ksx,sxKsx,SDeiKSDei,SDei1KSDei,sx.
2. update Dei and Di by moving k data with k lowest similarity levels from Di to Dei. Mathematically, the step is conducted as follows: De(i+1)=Dei{dxDi with k lowest σx2 }, D(i+1)={dxDi with (Dik) highest σx2 }. The size of the two datasets after the update are De(i+1)=Dei+k and D(i+1)=Dik.
3. i = i + 1.
End
  AL Output: The final effective training dataset De from the final iteration. Note De= E.
Positioning Stage: Calculate the estimated position p^T and the confidence of estimation σT2 for the measured RSS sT at an unknown location using GPR based on (3) and (4) with De as the training dataset.