Skip to content

Commit 3804ad3

Browse files
authored
Update README.md
1 parent e741a36 commit 3804ad3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ data = Data(X)
3030
data.compute_distances(maxk=100)
3131

3232
# compute the intrinsic dimension using 2nn estimator
33-
id, id_error, id_scale = data.compute_id_2NN()
33+
id, id_error, id_distance = data.compute_id_2NN()
3434

3535
# compute the intrinsic dimension up to the 64th nearest neighbors using Gride
36-
id_list, id_error_list, id_rank_list = data.return_id_scaling_gride(range_max=64)
36+
id_list, id_error_list, id_distance_list = data.return_id_scaling_gride(range_max=64)
3737

3838
# compute the density using PAk, a point adaptive kNN estimator
3939
log_den, log_den_error = data.compute_density_PAk()

0 commit comments

Comments
 (0)