Fig 13. Simulation comparison between rule-of-thumb naive k = 10 and distance-distribution informed kα = 1/2.
Precision and recall for the functional features are significantly improved using informed k versus naive k = 10. The training and validation classification accuracy are similar for the two values of k with slightly less overfitting for informed-k.