Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
betatim committed Jan 15, 2025
1 parent 72d7e33 commit 3f90e99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/cuml/cuml/manifold/umap.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ class UMAP(UniversalBase,
"sokalmichener": "NotImplemented",
"yule": "NotImplemented",
"ll_dirichlet": "NotImplemented",
"russelrao": "NotImplemented",
"russellrao": "NotImplemented",
"kulsinski": "NotImplemented",
"dice": "NotImplemented",
"wminkowski": "NotImplemented",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_umap_min_dist(manifold_data, min_dist):
"sokalmichener",
"yule",
"ll_dirichlet",
"russelrao",
"russellrao",
"kulsinski",
"dice",
"wminkowski",
Expand All @@ -72,6 +72,7 @@ def test_umap_metric(manifold_data, metric):
# haversine only works for 2D data
if metric == "haversine":
X = X[:, :2]

umap = UMAP(metric=metric, random_state=42)
X_embedded = umap.fit_transform(X)
trust = trustworthiness(X, X_embedded, n_neighbors=5)
Expand Down

0 comments on commit 3f90e99

Please sign in to comment.