Thus, our data is shown as |
Similarly, distance between query instance x=0.5 and X5=5.1 is computed as d(x,X5)=|0.5-5.1|=4.6. The table shows distance for x=0 to 0.5 for all X data. |
The table shows example of computation of KNN for smoothing for x = 2.5 until 3.5 and K=4. |
Gerald used to be one of the most logical people I know. Now he is mad as a hatter (mentally ill). |