MWE
pts = randn(5)
p_ = *([kde!(pts);], addEntropy=false)
pts_ = getPoints(p_)
# results in 5 values all equal to pts[1]
@assert pts_[2] != pts[2] "points in product of [p;] should be identical to original points"
Likely something to do with:
|
glb.particles[dim,j] = mean(glb.trees[j], glb.ind[j], dim) |
and used here:
|
glb.calcmu[j] = glb.particles[dim,j] #[dim+glb.Ndim*(j-1)] |
and closest to user:
MWE
Likely something to do with:
KernelDensityEstimate.jl/src/MSGibbs01.jl
Line 90 in caab2b1
and used here:
KernelDensityEstimate.jl/src/MSGibbs01.jl
Line 190 in caab2b1
and closest to user:
KernelDensityEstimate.jl/src/MSGibbs01.jl
Line 422 in caab2b1