I am using nlr3 'fast nearest neighbor' leaner i.e. fnn

Its parameter is km which has a default value of 1. When I use tuning using
random search, I set the parameter of k as: lower= 0, upper=3

But it gives an error message

Error in self$assert(xs) :
  Assertion on 'xs' failed: k: Element 1 is not >= 1.

I have tried different values but the error remains.

Warm regards

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to