Open JiaYaobo opened 9 months ago
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
Describe the bug
Output:
And run
all tests failed