File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 67
67
# The short X.Y version.
68
68
version = "0.5"
69
69
# The full version, including alpha/beta/rc tags.
70
- release = "0.5"
70
+ release = "0.5.8 "
71
71
72
72
# The language for content autogenerated by Sphinx. Refer to documentation
73
73
# for a list of supported languages.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def readme():
16
16
17
17
configuration = {
18
18
"name" : "umap-learn" ,
19
- "version" : "0.5.7 " ,
19
+ "version" : "0.5.8 " ,
20
20
"description" : "Uniform Manifold Approximation and Projection" ,
21
21
"long_description" : readme (),
22
22
"long_description_content_type" : "text/x-rst" ,
Original file line number Diff line number Diff line change 13
13
def nn_accuracy (true_nn , embd_nn ):
14
14
num_correct = 0.0
15
15
for i in range (true_nn .shape [0 ]):
16
- num_correct += np .sum (np .in1d (true_nn [i ], embd_nn [i ]))
16
+ num_correct += np .sum (np .isin (true_nn [i ], embd_nn [i ]))
17
17
return num_correct / true_nn .size
18
18
19
19
You can’t perform that action at this time.
0 commit comments