Open BERENZ opened 2 months ago
@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:
set.seed
.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?