You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@BERENZ the random seed is now exposed on the class interface. It's not going into the hnsw_build or hnsw_knn interface because you can call the set.seed function before calling those functions (and internally those functions now use the R RNG to seed the hnsw build step). Two things to note:
If you use more than one thread there is no guarantee of reproducibility even if you set.seed.
The hnswlib random seed is 64-bit, I only use the 32-bit integer space available in R. I doubt that matters overly much.
I am not planning a new CRAN submission soon so if this is still or relevance to you you will have to install from github.
The hnswlib includes a
random_seed
parameter, which is missing in theRcppHNSW
.Is it possible to add the parameter to the
hnsw_build
(andhnsw_knn
) function to have full control over how the index is built?The text was updated successfully, but these errors were encountered: