Hi,
The following code segment seems to throw error:
using StatsBase
.... other lines
println(size(sqdists),m," ",sampleSize)
wv = WeightVec(sqdists)
println("done-3")
println(sample(1:m,wv,sampleSize))
(31670,)31670 50
ERROR: LoadError: BoundsError
in getindex at range.jl:346
done-3
while loading E:\projs\HPCA\driver.jl, in expression starting on line 25
Also it seems t work sometimes and sometimes not (works on another smaller
array ). Please see if you have encountered such error earlier.
Thanks in advance