Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

BUG: xorbits._mars.learn.neighbors.NearestNeighbors doesn't work #739

Open
JiaYaobo opened this issue Oct 12, 2023 · 0 comments
Open

BUG: xorbits._mars.learn.neighbors.NearestNeighbors doesn't work #739

JiaYaobo opened this issue Oct 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@JiaYaobo
Copy link
Contributor

Describe the bug

from xorbits._mars.learn.neighbors import NearestNeighbors
import numpy as np

X = np.array([[0, 1], [1, 0], [1, 1], [0, 0]])
nbrs = NearestNeighbors(n_neighbors=2, algorithm='ball_tree').fit(X)

Output:

TypeError: argument of type 'builtin_function_or_method' is not iterable

And run

pytest xorbits/_mars/learn/neighbors/tests/test_nearest_neighbors.py

all tests failed

@XprobeBot XprobeBot added the bug Something isn't working label Oct 12, 2023
@XprobeBot XprobeBot added this to the v0.7.0 milestone Oct 12, 2023
@XprobeBot XprobeBot modified the milestones: v0.7.0, v0.7.1 Oct 23, 2023
@XprobeBot XprobeBot modified the milestones: v0.7.1, v0.7.2 Nov 21, 2023
@XprobeBot XprobeBot modified the milestones: v0.7.2, v0.7.3 Jan 5, 2024
@XprobeBot XprobeBot modified the milestones: v0.7.3, v0.7.4 Aug 22, 2024
@luweizheng luweizheng removed this from the v0.7.4 milestone Dec 16, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants