[ ] Calculate the probability space from 0 to 1, instead of 0.01 to 0.99.
[ ] Generate the meshgrid on m-1 dimensions on this expanded space.
[ ] Use the mask to eliminate the probability vectors whose sum > 1.
[ ] Add the m-th dimension to the probability vector as the difference 1-sum(vector).
[ ] For every vector that has one or more components == 0, count the number of components == 0, normalize the probability vector by multiplying each component of the vector by (1-count*EPSILON), and replacing the 0 components with EPSILON.
0
to1
, instead of0.01
to0.99
.m-1
dimensions on this expanded space.sum > 1
.m
-th dimension to the probability vector as the difference1-sum(vector)
.== 0
, count the number of components== 0
, normalize the probability vector by multiplying each component of the vector by(1-count*EPSILON)
, and replacing the0
components withEPSILON
.