Skip to content

Commit

Permalink
Merge branch 'update_requirements'
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcinnes committed Feb 28, 2025
2 parents 5e0cb38 + ffb1a6d commit 6390369
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
# The short X.Y version.
version = "0.5"
# The full version, including alpha/beta/rc tags.
release = "0.5"
release = "0.5.8"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def readme():

configuration = {
"name": "umap-learn",
"version": "0.5.7",
"version": "0.5.8",
"description": "Uniform Manifold Approximation and Projection",
"long_description": readme(),
"long_description_content_type": "text/x-rst",
Expand Down
2 changes: 1 addition & 1 deletion umap/tests/test_aligned_umap.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def nn_accuracy(true_nn, embd_nn):
num_correct = 0.0
for i in range(true_nn.shape[0]):
num_correct += np.sum(np.in1d(true_nn[i], embd_nn[i]))
num_correct += np.sum(np.isin(true_nn[i], embd_nn[i]))
return num_correct / true_nn.size


Expand Down

0 comments on commit 6390369

Please sign in to comment.