From 2f551bd813a96567bac80aeaa186b706571b69f7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 3 Dec 2009 21:28:50 +0300 Subject: * Many major fixes to statfiles: - fix bug with mmapping files: new addresses must NOT be allocated in shared memory by themselves - fix bug with winnow classifier that totally brokes it down - fix bug with too much grow of values * Use double precission values in statistics * Add statistics for statfiles * Add more informative data to output of LEARN command (weight of incoming message) * Add weight to output of classifier as well --- src/filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/filter.c') diff --git a/src/filter.c b/src/filter.c index 66a256708..0734bcf56 100644 --- a/src/filter.c +++ b/src/filter.c @@ -488,7 +488,7 @@ process_autolearn (struct statfile *st, struct worker_task *task, GTree * tokens return; } - classifier->learn_func (ctx, task->worker->srv->statfile_pool, statfile, tokens, TRUE); + classifier->learn_func (ctx, task->worker->srv->statfile_pool, statfile, tokens, TRUE, NULL); maybe_write_binlog (ctx->cfg, st, statfile, tokens); } } -- cgit v1.2.3