I have questions about the "Optimize Fitted KNN Classifier" example (https://www.mathworks.com/help/stats/fitcknn.html).
Is there any rule to change values of "NumNeighbors" and "Distance" while iteration?
It just seems random.
And, I'm not sure the final model with below "NumNeighbors" and "Distance" is the best optimized model or not.
How can you assure the final model is the best optimized?