Create approx_nearest_neighbours.py #14889
Annotations
5 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (NPY002):
machine_learning/approx_nearest_neighbours.py#L53
machine_learning/approx_nearest_neighbours.py:53:23: NPY002 Replace legacy `np.random.randn` call with `np.random.Generator`
|
|
Ruff (NPY002):
machine_learning/approx_nearest_neighbours.py#L51
machine_learning/approx_nearest_neighbours.py:51:9: NPY002 Replace legacy `np.random.seed` call with `np.random.Generator`
|
|
Ruff (F401):
machine_learning/approx_nearest_neighbours.py#L23
machine_learning/approx_nearest_neighbours.py:23:26: F401 `numpy.linalg.norm` imported but unused
|
|
Ruff (I001):
machine_learning/approx_nearest_neighbours.py#L20
machine_learning/approx_nearest_neighbours.py:20:1: I001 Import block is un-sorted or un-formatted
|