Closed
Description
Hi! I think the documentation of sample
is a bit misleading. I'm referring to this page.
There, we have as a third variant of the function
sample([rng], a, [wv::AbstractWeights], dims::Dims; replace=true, ordered=false)
However, if I understand the source code correctly, there is no implementation of sample
with weights, which supports the keyword flags. But I might be mistaken - in this case I appreciate correction.
Functions efraimidis_a_wsample_norep
and efraimidis_ares_wsample_norep
should should serve for the no-replacement version, right?
Thanks already!
Metadata
Metadata
Assignees
Labels
No labels