skccm
skccm copied to clipboard
KNeighborsRegressor tuple index out of range
IndexError Traceback (most recent call last)
~/.local/lib/python3.6/site-packages/skccm/skccm.py in fit(self, X1_train, X2_train) 78 79 #to sorround a point, there must be ndim + 1 points ---> 80 near_neighs = X1_train.shape[1] + 1 81 82 self.knn1 = neighbors.KNeighborsRegressor(near_neighs)
IndexError: tuple index out of range