From 280f46020905e127f3488d0e91100805a0c872b3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 10 Feb 2019 22:26:22 +0100 Subject: ... --- ymir.nix | 43 +++---------------------------------------- 1 file changed, 3 insertions(+), 40 deletions(-) diff --git a/ymir.nix b/ymir.nix index 9f6eec48..fb2e7d74 100644 --- a/ymir.nix +++ b/ymir.nix @@ -1118,22 +1118,9 @@ in rec { expire = 8640000; new_schema = true; backend = "redis"; - autolearn = true; - - per_user = <= 0.95 - else - cl = 'ham' - in_class = prob <= 0.05 - end - - if in_class then - return false,string.format('already in class %s; probability %.2f%%', - cl, math.abs((prob - 0.5) * 200.0)) - end - end - - return true - end - EOD ''; }; }; -- cgit v1.2.3