random

Bas van Gils bas.vangils at home.nl
Wed May 30 03:59:22 EDT 2001


Good morning,

For one of my classes (machine learning, actually) I'm going to do an
experiment. One of the jobs that I should tackle is segmenting a
dataset. The total set is 10000 items big. First I make a set of 1000
items, then 2000 etc etc.. Making this set is done by *randomly*
extracting items from the big set.

One of the things that I'm concerned about is this random-ness. My
teacher (actually a nice guy :) explained to us that not all
random-number-generators are "good", and that this selection process
*must* *be* *random*. So, my question: how random is the
random-number-generator that python uses?

thank-you-in-advance-ly yours

    Bas

-- 
Bas van Gils <bas.vangils at home.nl>




More information about the Python-list mailing list