[Numpy-discussion] multinomial error?
Alan G Isaac
aisaac at american.edu
Sun Aug 5 10:42:17 EDT 2007
On Fri, 03 Aug 2007, adam.powell at ucl.ac.uk apparently wrote:
> I appear to be having a problem with the random.multinomial function. For some
> reason if i attempt to loop over a large number of single-trial multinomial
> picks then the function begins to ignore some non-zero entries in my 1-D array
> of multinomial probabilities... Is seems that there is no upper limit on the
> size of the probability array for a one off multinomial pick, but if looping
> over the process multiple times the function can't handle the whole array and
> seems to truncate it arbitrarily before performing the trial with only the
> remaining probabilities.
Minimal example?
Cheers,
Alan Isaac
More information about the NumPy-Discussion
mailing list