You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The traceback of the error shows that is raised by the kneighbors method of the KNeighborsMixin class. So it refers to the name of one of its parameters (n_neighbors).
When
k_neighbors
>n_samples
the error message displayed refers to an inexistent hyperparametern_neighbors
:ValueError: Expected n_neighbors <= n_samples, but n_samples = 2, n_neighbors = 6
The text was updated successfully, but these errors were encountered: