First  |  Prev |  Next  |  Last
Pages: 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
Pick items from list with probability based upon property oflistmember ?
On Sun, 20 Jun 2010 11:27:30 +0000, Mel wrote: southof40 wrote: I have list of of N Vehicle objects - the only possible vehicles are cars, bikes, trucks. I want to select an object from the list with a probability of : cars 0.7, bikes 0.3, trucks 0.1. I've currently implemented this... 20 Jun 2010 11:15
Pick items from list with probability based upon property of list member ?
On Sun, 20 Jun 2010 03:19:55 -0700, southof40 wrote: I want to select an object from the list with a probability of : cars 0.7, bikes 0.3, trucks 0.1. I've currently implemented this by creating another list in which each car object from the original list appears 7 times, each bike 3 times and each... 20 Jun 2010 10:10
question about multiprocessing
first sorry for my poor english. Is there any problem in the follow code? thanks! from multiprocessing.managers import BaseManager import Queue class CrawlerManager(BaseManager): pass downloader_queue = Queue.Queue() downloader_queue.put('hello') CrawlerManager.register('get_downloade... 26 Jun 2010 11:54
Pick items from list with probability based upon property of list member ?
southof40 wrote: I have list of of N Vehicle objects - the only possible vehicles are cars, bikes, trucks. I want to select an object from the list with a probability of : cars 0.7, bikes 0.3, trucks 0.1. I've currently implemented this by creating another list in which each car object from th... 20 Jun 2010 08:02
setup server from scratch (with or without apache?)
Hi, So far I never really had to ask this question and this is also, why I am stil a little shaky on this topic: So far the typical LAMP server existed already and contained already a lot of existing PHP web applications, which I couldn't remove. Therefore I just used mod_python to implement some minor funct... 21 Jun 2010 21:23
Pick items from list with probability based upon property of listmember ?
southof40 wrote in news:da3cc892-b6dd-4b37-a6e6- b606ef9670fa(a)t26g2000prt.googlegroups.com in gmane.comp.python.general: I have list of of N Vehicle objects - the only possible vehicles are cars, bikes, trucks. I want to select an object from the list with a probability of : cars 0.7, bikes 0.3, truc... 20 Jun 2010 06:57
Pick items from list with probability based upon property oflist member ?
On Sun, 20 Jun 2010 03:19:55 -0700, southof40 wrote: I have list of of N Vehicle objects - the only possible vehicles are cars, bikes, trucks. I want to select an object from the list with a probability of : cars 0.7, bikes 0.3, trucks 0.1. That adds to a probability of 1.1, which is impossible. ... 20 Jun 2010 06:57
Pick items from list with probability based upon property oflist member ?
southof40, 20.06.2010 12:19: I have list of of N Vehicle objects - the only possible vehicles are cars, bikes, trucks. I want to select an object from the list with a probability of : cars 0.7, bikes 0.3, trucks 0.1. I've currently implemented this by creating another list in which each car obje... 20 Jun 2010 23:19
Pick items from list with probability based upon property of list member ?
I have list of of N Vehicle objects - the only possible vehicles are cars, bikes, trucks. I want to select an object from the list with a probability of : cars 0.7, bikes 0.3, trucks 0.1. I've currently implemented this by creating another list in which each car object from the original list appears 7 times, e... 21 Jun 2010 06:56
plac 0.5 is out!
A few weeks ago I presented on this list my most recent effort, plac. Now there is a *huge* new release: the size of plac and of its documentation doubled. Now plac is much more than a simple command-line arguments parser: it is also a generic tool to write command languages, similar to the cmd module in the st... 21 Jun 2010 03:42
First  |  Prev |  Next  |  Last
Pages: 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88