Skip to content

Commit

Permalink
Add missing dimensionality reduction method specification in a test
Browse files Browse the repository at this point in the history
  • Loading branch information
phurwicz committed Apr 27, 2023
1 parent d6b1172 commit ca59774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/representation/test_reduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_dimensionality_reduction(n_points=1000):
reducer.fit_transform(
"umap", n_neighbors=3, min_dist=0.01, dimension=3, metric="euclidean"
)
embedding = reducer.transform(arr)
embedding = reducer.transform(arr, "umap")
assert embedding.shape == (n_points, 3)
embedding = reducer.transform(np.array([]))
assert embedding.shape == (0,)
Expand Down

0 comments on commit ca59774

Please sign in to comment.