Skip to content

Commit

Permalink
close #80
Browse files Browse the repository at this point in the history
  • Loading branch information
gagolews committed Jun 7, 2023
1 parent add975d commit 34733f5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: genieclust
Type: Package
Title: Fast and Robust Hierarchical Clustering with Noise Points Detection
Version: 1.1.4
Date: 2023-05-15
Version: 1.1.4.9001
Date: 2023-06-07
Authors@R: c(
person("Marek", "Gagolewski",
role = c("aut", "cre", "cph"),
Expand Down
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Changelog


## 1.1.4.9xxx (under development)

* [BUGFIX] [Python] #80: fixed adjustment for `nmslib_n_neighbors`
in small samples.


## 1.1.4 (2023-03-31)

* [Python] The GIc algorithm no longer marked as experimental;
Expand Down
2 changes: 1 addition & 1 deletion genieclust/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# ############################################################################ #

# version string, e.g., "1.0.0.9001" or "1.1.1"
__version__ = "1.1.4"
__version__ = "1.1.4.9001"


from . import plots
Expand Down
2 changes: 1 addition & 1 deletion genieclust/genie.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def _get_mst_approx(self, X, cur_state):
nmslib.DistType.INT

cur_state["nmslib_n_neighbors"] = min(
n_samples-1,
n_samples-2,
max(1, cur_state["nmslib_n_neighbors"]))

if cur_state["nmslib_n_neighbors"] < cur_state["M"]-1:
Expand Down

0 comments on commit 34733f5

Please sign in to comment.