8000 Fix NearestNeighbor init call in MLkNN by ruanbuhr · Pull Request #309 · scikit-multilearn/scikit-multilearn · GitHub
[go: up one dir, main page]

Skip to content

Conversation

ruanbuhr
Copy link
@ruanbuhr ruanbuhr commented Apr 2, 2025

In newer versions of scikit-learn, NearestNeighbors requires n_neighbors to be passed as a keyword argument and not a positional argument.

Without this NearestNeighbors.init() would give a TypeError.

In newer versions of scikit-learn, NearestNeighbors requires n_neighbors to be passed as a keyword argument and not a positional argument.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0