[R] Error in setting the parameter values of k

Neha gupta neh@@bo|ogn@90 @end|ng |rom gm@||@com
Tue Dec 29 14:51:31 CET 2020

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]]

More information about the R-help mailing list