Make shuffling truly random for better training sets

This commit is contained in:
Hamcha 2019-09-02 17:52:04 +02:00
parent 6d15e31a1b
commit 9d8f3bc90e
Signed by: hamcha
GPG key ID: 44AD3571EB09A39E

View file

@ -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):