From a7bb4050119643ee37eed764c358f1436a80f71b Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 17 Mar 2012 19:21:54 +0100 Subject: [PATCH] Also ignore 150-150 matches when training model. --- train.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/train.pl b/train.pl index 95dcd06..22a2741 100755 --- a/train.pl +++ b/train.pl @@ -49,6 +49,7 @@ $q->execute($last_season); while (my $ref = $q->fetchrow_hashref) { next if ($ref->{'maalfor'} == 150 && $ref->{'maalmot'} == 0); next if ($ref->{'maalfor'} == 0 && $ref->{'maalmot'} == 150); + next if ($ref->{'maalfor'} == 150 && $ref->{'maalmot'} == 150); printf DATA "%d %d %d %d %f\n", $ref->{'p1'}, $ref->{'p2'}, $ref->{'maalfor'}, $ref->{'maalmot'}, $ref->{'vekt'}; } -- 2.39.5