From 71106f2a643b8cdc55eb52d6159894fef3cd3aec Mon Sep 17 00:00:00 2001 From: tslil Date: Wed, 6 Jan 2021 22:34:01 -0500 Subject: Small tweaks --- src/pptdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pptdb.c b/src/pptdb.c index 7a26ffd..7995219 100644 --- a/src/pptdb.c +++ b/src/pptdb.c @@ -98,8 +98,8 @@ parse_line(const char *pt, const ssize_t read) { if (COUNT_AT(k)>1) heights[COUNT_AT(k)]+=1; } } - // Generate training data - if (generate) { + // Generate training data, not too early in the game + if (generate && ply > 10) { write_input(); fprintf(training_fh,"%d\n", result); } -- cgit v1.2.3