Make shuffling truly random for better training sets
This commit is contained in:
parent
6d15e31a1b
commit
9d8f3bc90e
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ def main(fname, oname = None, verbose = True, encoding = 'std',
|
|||
# This should give a random but consistent ordering, to make comparing changes
|
||||
# between the output of different versions easier.
|
||||
if not stable:
|
||||
random.seed(1371367)
|
||||
random.seed(a=None)
|
||||
random.shuffle(cards)
|
||||
|
||||
def writecards(writer):
|
||||
|
|
Loading…
Reference in a new issue