[Numpy-discussion] multinomial error?

Alan G Isaac aisaac@american....
Sun Aug 5 09:42:17 CDT 2007


On Fri, 03 Aug 2007, adam.powell@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