Skip to content

Commit bbe67d9

Browse files
committed
'u'
1 parent c3028a9 commit bbe67d9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

dadapy/id_estimation.py

-2
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ def return_id_scaling_2NN(
221221
rs_scaling:
222222
array([0.52 0.66 0.88 1.18 1.65 2.3 3.23 4.54])
223223
"""
224-
225224
max_ndec = int(math.log(self.N, 2)) - 1
226225
Nsubsets = np.round(self.N / np.array([2**i for i in range(max_ndec)]))
227226
Nsubsets = Nsubsets.astype(int)
@@ -383,7 +382,6 @@ def _mus_scaling_reduce_func(self, dist, start, range_scaling):
383382
rs: distances of the neighbors involved in the mu estimates
384383
"""
385384
# argsort may be faster than argpartition when gride is applied on the full dataset (for the moment not used)
386-
387385
max_step = int(math.log(range_scaling, 2))
388386
steps = np.array([2**i for i in range(max_step)])
389387

0 commit comments

Comments
 (0)