Figure 4.
Example of application of the weighted k-nearest neighbor (WKNN) algorithm for two reference points, RP1 and RP2, one test point, TP, and three beacons, B1, B2 and B3: (a) Calculation of the estimated coordinates as a weighted average of the coordinates of k-nearest RPs (k = 2) with the shortest distance to the TP in the signal space; (b) Euclidean distances of the RPs to the TP in the signal space.