Skip to content
Prev 386721 / 398502 Next

Error in setting the parameter values of k

Likely, yes. Your error message says k must be at least 1, so searching
below 1 is probably your issue.

Also, logically, zero nearest neighbors doesn't seem to make a lot of sense.

Pat

On Tue, Dec 29, 2020 at 11:01 AM Neha gupta <neha.bologna90 at gmail.com>
wrote: