Data distribution by frequency

Alex the_brain at mit.edu
Sat Oct 7 22:56:38 EDT 2000


> Sound good? Or is there an easier/cleaner way to accomplish the same
> thing?

Can you say a little more about what the timing loop is supposed to
accomplish?  At first glance, it seems like it would be easier to choose
an element in each cell according to the probability density function
that the frequency counts give you.  It depends on how much you depend
on having each object type distributed as heterogeneously as possible.

It's all really much of a muchness, though, I suppose.  Anything you
decide to do along these lines is going to take you less than 20 lines
of python, I'd guess.

Alex.

-- 
Speak softly but carry a big carrot.




More information about the Python-list mailing list