Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove G_INLINE_FUNC definitions as I misunderstood its purposes. | Vsevolod Stakhov | 2010-10-15 | 2 | -2/+2 |
| | |||||
* | Fixes bugs found with clang-static analyser. | Vsevolod Stakhov | 2010-10-11 | 2 | -2/+14 |
| | | | | | Strictly follow c99 standart. Turn on pedantic c99 checks. | ||||
* | * Fix races in fuzzy storage | Vsevolod Stakhov | 2010-08-26 | 1 | -1/+3 |
| | |||||
* | * Fix normalization for systems that have not tanhl function | Vsevolod Stakhov | 2010-08-18 | 1 | -2/+2 |
| | |||||
* | * Remove normalizer as it is winnow specific thing, so all statistic ↵ | Vsevolod Stakhov | 2010-08-13 | 1 | -4/+18 |
| | | | | algorithms now returns value from 0 to 1 | ||||
* | * Add bayesian classifier (initial version) | Vsevolod Stakhov | 2010-08-13 | 4 | -11/+409 |
| | |||||
* | * One more try to improve accuracy of winnow algorithm | Vsevolod Stakhov | 2010-08-06 | 1 | -10/+19 |
| | |||||
* | * Fixes to winnow learning | Vsevolod Stakhov | 2010-08-05 | 2 | -47/+114 |
| | |||||
* | * Fix some logic errors in learning | Vsevolod Stakhov | 2010-08-03 | 1 | -6/+8 |
| | |||||
* | * Improve logic of learning messages: do not learn more than specific threshold | Vsevolod Stakhov | 2010-08-02 | 1 | -8/+82 |
| | | | | * Fix inserting results for symbols that were incorrectly (for example more than 1 time) defined in config file | ||||
* | * Change metric logic | Vsevolod Stakhov | 2010-06-16 | 1 | -1/+1 |
| | | | | | | | * Completely remove lex/yacc readers for config * Make common sense of metric/action and symbols * Sync changes with all plugins TODO: add this to documentation | ||||
* | * Fix strict aliasing while compiling with optimization | Vsevolod Stakhov | 2010-05-31 | 1 | -1/+1 |
| | | | | | * Fix tanhl detection for platforms that have not implementation of it * Remove several compile warnings | ||||
* | * Fix order | Vsevolod Stakhov | 2010-05-27 | 1 | -3/+3 |
| | |||||
* | * In classify normalize result after comparing, not before | Vsevolod Stakhov | 2010-05-27 | 1 | -3/+3 |
| | |||||
* | * Convert statistic sums to use long double for counters | Vsevolod Stakhov | 2010-05-27 | 2 | -24/+18 |
| | | | | * Use hyperbolic tangent for internal normalizer | ||||
* | * Implement new learning system, now rspamd should be much more intelligent ↵ | Vsevolod Stakhov | 2010-05-27 | 1 | -32/+125 |
| | | | | while learning messages | ||||
* | * Fix awfull bug in classifying when first statfile has twice weight than ↵ | Vsevolod Stakhov | 2010-05-14 | 1 | -2/+2 |
| | | | | | | second... * Fix undisclosed recipients detection | ||||
* | * Bugfixes: | Vsevolod Stakhov | 2010-04-20 | 1 | -1/+1 |
| | | | | | | | | | | - handle '\' characters in lua strings correctly - fix lua initialization - avoid of using global lua state (global L) - fix listen sockets hash to allow multiply workers of same type but on different listen sockets - fix modules options inserting to allow multiply options of the same name - fix parsing of lua options - fix lua rules | ||||
* | * Add option min_tokens to classifier that allows to skip too short messages ↵ | Vsevolod Stakhov | 2010-03-22 | 1 | -1/+34 |
| | | | | | | from statistic check, format: min_tokens = "10"; (for 10 words minimum) | ||||
* | * Fix bugs from previous commit | cebka@lenovo-laptop | 2010-03-01 | 1 | -6/+3 |
| | |||||
* | * Add weights command for getting weights of each message by each statfile | cebka@lenovo-laptop | 2010-03-01 | 3 | -6/+80 |
| | | | | | * Add ability to specify multiplier when learning * Add statistics about spam and ham messages | ||||
* | * Forgotten call of normalizer function | cebka@lenovo-laptop | 2010-01-14 | 1 | -0/+3 |
| | |||||
* | * Introduce new logging system: | Vsevolod Stakhov | 2009-12-22 | 1 | -1/+1 |
| | | | | | | | | | - independent and customizeable buffering - line buffering - errors handling support - custom (ip based) debug - append function name automaticaly (based on __FUNCTION__) - add some logic to logs system | ||||
* | * Implement pre and post classify callbacks for checking specific statfiles ↵ | Vsevolod Stakhov | 2009-12-16 | 1 | -3/+21 |
| | | | | | | | | | | for this task TODO: - add properties to get all parameters of input task - add properties to statfile object - add some normalization function for calling from classify process - document changes | ||||
* | * Fix symbols cache (init lua filters before symbols cache initialization) | Vsevolod Stakhov | 2009-12-14 | 1 | -3/+21 |
| | | | | | | | * Remove LRU expiration logic from statfiles and replace it with random/lowerest value expiration logic: expire random block or block with lowerest value ! statfiles are incompatible again | ||||
* | * Many major fixes to statfiles: | Vsevolod Stakhov | 2009-12-03 | 2 | -18/+31 |
| | | | | | | | | | | - 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 | ||||
* | * Write revision and revision time to statfile | Vsevolod Stakhov | 2009-11-12 | 2 | -24/+4 |
| | | | | * Make some improvements to API (trying to make it more clear) | ||||
* | * Add binlog API implementation | Vsevolod Stakhov | 2009-11-06 | 1 | -1/+3 |
| | |||||
* | * Add ability to change statfile size limit in config and allow reindexing ↵ | Vsevolod Stakhov | 2009-10-16 | 1 | -4/+4 |
| | | | | of statfiles | ||||
* | * Retab, no functional changes | Vsevolod Stakhov | 2009-10-02 | 2 | -53/+53 |
| | |||||
* | * Fix race between learn and classify | Vsevolod Stakhov | 2009-09-28 | 1 | -1/+5 |
| | |||||
* | * Fix learning | Vsevolod Stakhov | 2009-09-25 | 1 | -3/+5 |
| | |||||
* | * Remove assert | Vsevolod Stakhov | 2009-09-16 | 1 | -3/+5 |
| | | | | | | * Fix build WITH_LUA * Fix calling of classifier * Fix autolearn | ||||
* | * New system of classifiers interface and statfiles processing | Vsevolod Stakhov | 2009-09-14 | 3 | -67/+66 |
| | | | | | | | * Fix sample config * Fix compile warnings * Fix building without lua support * Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh) | ||||
* | * Rework structure and API of statfiles functions to improve performance and ↵ | Vsevolod Stakhov | 2009-07-02 | 1 | -13/+11 |
| | | | | | | avoid missusage of hash table * Correct url length calculation in urls command | ||||
* | * Prepare to migrate to cmake (still need to write install target and ↵ | Vsevolod Stakhov | 2009-02-16 | 3 | -9/+2 |
| | | | | | | | | working with XS implicitly) * Move all system includes to one file where we detect availability of all that includes * Fix license misprint * Fix some issues with perl initializing | ||||
* | * Add BSD license text | Vsevolod Stakhov | 2009-02-16 | 2 | -0/+48 |
| | |||||
* | * Avoid division by zero | Vsevolod Stakhov | 2009-02-09 | 1 | -1/+8 |
| | |||||
* | * Do another rework of filters/metrics and statfiles processing | Vsevolod Stakhov | 2009-01-29 | 3 | -17/+83 |
| | | | | * Add 'probability' normalizing to winnow algorithm and calculate not pure weight but normalized probability | ||||
* | * Rework statfiles result processing | Vsevolod Stakhov | 2009-01-22 | 3 | -1/+9 |
| | | | | * Fix small bug in protocol implementation (\r -> \r\n) | ||||
* | * Add simple implementation of classifiers abstraction and winnow classifier | Vsevolod Stakhov | 2008-12-04 | 3 | -0/+168 |
* Force statfile to work with float values |