From: Noel Welsh <noelwelsh@ya...>  20030430 14:02:45

Ewwww that code is old. Anyway, here's the straight dope as I remember it: makediscreterandomvariable creates a random variable that generates values from a finite set (maybe it ain't a random variable then  I'm not sure on the terminology). So (makediscreterandomvariable '((a . 0.1) (b . 0.6) (c . 0.3))) returns a rv that generates values from the set {'a, 'b, 'c} with the probabilities given above. The only export is makediscreterandomvariable makegraphrandomvariable makes a discrete random variable where the output is determined by following a graph of discrete random variables (so its really a markov chain). You can either sample from graph or trace the path through the graph. I think the concepts are a bit muddled up here. constantprocess is a "random" variable that always returns the same value. Dirac delta function I guess. treeprocess....hmmm....I think this was a hack I created to test a decision tree algorithm. I think it generates data from a noisy decision tree. I don't think its generally useful. BTW, info.txt is really nice. HTH, Noel ===== Email: noelwelsh <at> yahoo <dot> com Jabber: noelw <at> jabber <dot> org __________________________________ Do you Yahoo!? The New Yahoo! Search  Faster. Easier. Bingo. http://search.yahoo.com 