Is it possible to set the number of neighbors for KNNRegressor to use the maximum number found if it can't find the requested number?

前端 未结 0 800
说谎
说谎 2021-01-26 03:38

I am trying to use SKLearn KNNRegressor, but there are situations in which the number of samples is less than the number of requested neighbors. The easiest way to solve this wo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题