From 4755b6aa6bc213c2ef700d9b17fdbc42c21828c4 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 18 Apr 2012 23:40:04 +0200 Subject: [PATCH] Ignore 0-0 games. --- train.pl | 1 + www/rating.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/train.pl b/train.pl index 9238b61..d128d58 100755 --- a/train.pl +++ b/train.pl @@ -37,6 +37,7 @@ 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); + next if ($ref->{'maalfor'} == 0 && $ref->{'maalmot'} == 0); push @games, { %$ref }; $ids{$ref->{'p1'}} = 1; $ids{$ref->{'p2'}} = 1; diff --git a/www/rating.pl b/www/rating.pl index d1ba945..604ca28 100755 --- a/www/rating.pl +++ b/www/rating.pl @@ -71,7 +71,7 @@ printf <<"EOF", $params{-3}, $match_stddev;
  • Vekting: Inneværende sesong samt de tre siste vektes fullt ut (likt med prior). Deretter eksponentielt synkende vekting, med halveringstid pÃ¥ tre sesonger. Spill som er registrert med - 150-0, 0-150 eller 150-150 ignoreres.
  • + 0-0, 150-0, 0-150 eller 150-150 ignoreres.

    Divisjonsoversikt

    -- 2.39.2