From f6ab3f7837946b5d11e0610b60057da079d0c0bc Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 23 Jun 2023 14:21:01 +0200 Subject: [PATCH] config: disable awl and bayes by default Since most often they don't help in a default setup without manually training with many examples. Note that this is a breaking change, and a config rewrite will trigger a deletion of bayes and awl databases. Signed-off-by: Dominik Csapak --- src/PMG/Config.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PMG/Config.pm b/src/PMG/Config.pm index 20afd71..dc28c02 100644 --- a/src/PMG/Config.pm +++ b/src/PMG/Config.pm @@ -177,12 +177,12 @@ sub properties { use_bayes => { description => "Whether to use the naive-Bayesian-style classifier.", type => 'boolean', - default => 1, + default => 0, }, use_awl => { description => "Use the Auto-Whitelist plugin.", type => 'boolean', - default => 1, + default => 0, }, use_razor => { description => "Whether to use Razor2, if it is available.", -- 2.39.5