在某些数据集上,我连续收到此警告消息:
regression.py:130: NeighborsWarning: kneighbors: neighbor k+1 and neighbor k have the same distance: results will be dependent on data order.
neigh_dist, neigh_ind = self.kneighbors(X)
我不认为我必须担心它(对吗?)...什么是摆脱警告的最佳方法?有标志还是可以对我的数据做些什么?