Amey Band
1 min readSep 14, 2020

--

Thanks for your question, if you observe in code the K value starts from 1 so you can get that index of minimal error rate at K = 37 not K = 38.

--

--