mox/junk
Mechiel Lukkien 6aa2139a54
do not use results from junk filter if we have less than 50 positive classifications to base the decision on
useful for new accounts. we don't want to start rejecting incoming messages for
having a score near 0.5 because of too little training material. we err on the
side of allowing messages in. the user will mark them as junk, training the
filter. once enough non-junk has come in, we'll start the actual filtering.

for issue #64 by x8x, and i've also seen this concern on matrix
2025-01-23 22:55:50 +01:00
..
bloom.go mox! 2023-01-30 14:27:06 +01:00
bloom_test.go mox! 2023-01-30 14:27:06 +01:00
filter.go do not use results from junk filter if we have less than 50 positive classifications to base the decision on 2025-01-23 22:55:50 +01:00
filter_test.go do not use results from junk filter if we have less than 50 positive classifications to base the decision on 2025-01-23 22:55:50 +01:00
parse.go switch to slog.Logger for logging, for easier reuse of packages by external software 2023-12-14 13:45:52 +01:00
parse_test.go switch to slog.Logger for logging, for easier reuse of packages by external software 2023-12-14 13:45:52 +01:00