Great work, thanks! What if I have a weighted sampling scheme, where some samples are drawn with higher probabilities. I tried to provide "indices=idxSamples" to the arrayDataSource, in which "idxSamples can contain an integer index multiple times. This seems to lead to problems, so my question is: do you assume that the indices provided to the argument "indices" are unique?
Great work, thanks! What if I have a weighted sampling scheme, where some samples are drawn with higher probabilities. I tried to provide "indices=idxSamples" to the arrayDataSource, in which "idxSamples can contain an integer index multiple times. This seems to lead to problems, so my question is: do you assume that the indices provided to the argument "indices" are unique?