Smooth boundaries between Nj subsets
If we want smooth boundaries, we need stop assuming that all predictions have the same impact in the local-dependence profile.
To solve this we use the function wi(z) to capture the distance between z and xji based on the density function of a normal distribution with mean 0 and standard deviation s.
s plays the role of a smoothing factor.
wi(z)=ϕ(z−xji,0,s)
Now we just to apply the next function.
˜gjLD(z)=1∑kwk(z)n∑i=1wi(z)f(x_j|=zi)