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]]
I am using mlr3 'fast nearest neighbor' leaner i.e. fnn Its parameter is 'k' 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]]