Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neural: Explain that rspamc cannot train it #475

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions doc/modules/neural.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Neural network is learned for spam when a message is recognized as spam and it i

Training is performed in background and after some amount of trains neural network is updated and stored in Redis server allowing scanners to load and update their own data.

You cannot currently currently train the network manually with `rspamc learn_ham` / `rspamc learn_spam`.

After some amount of training iterations (`10` by default), the training process removes old neural network and starts training a new one. This is done to ensure that old data does not influence the current processing. Once trained, neural network data is saved into Redis where all Rspamd scanners share their learning data. Redis is also used to store intermediate train vectors. ANN and training data is saved in Redis compressed using `zstd` compressor.

## Configuration
Expand Down