tutanota/libs
map 5293be6a4a
Implement spam training data sync and add TutanotaModelV98
We sync the spam training data encrypted through our server to make
sure that all clients for a specific user behave the same when
classifying mails. Additionally, this enables the spam classification
in the webApp. We compress the training data vectors
(see clientSpamTrainingDatum) before uploading to our server using
SparseVectorCompressor.ts. When a user has the ClientSpamClassification
enabled, the spam training data sync will happen for every mail
received.

ClientSpamTrainingDatum are not stored in the CacheStorage.
No entityEvents are emitted for this type.
However, we retrieve creations and updates for ClientSpamTrainingData
through the modifiedClientSpamTrainingDataIndex.

We calculate a threshold per classifier based on the dataset ham to spam
ratio, we also subsample our training data to cap the ham to spam ratio
within a certain limit.

Co-authored-by: jomapp <17314077+jomapp@users.noreply.github.com>
Co-authored-by: das <das@tutao.de>
Co-authored-by: abp <abp@tutao.de>
Co-authored-by: Kinan <104761667+kibibytium@users.noreply.github.com>
Co-authored-by: sug <sug@tutao.de>
Co-authored-by: nif <nif@tutao.de>
Co-authored-by: map <mpfau@users.noreply.github.com>
2025-11-18 13:56:19 +01:00
..
Signal-FTS5-Extension@200f65e9a5 Update Signal-FTS5-Extension submodule to current master 2025-07-03 13:26:48 +02:00
sqlcipher-android [build] Fix configuring sqlcipher for mobile 2025-07-22 10:48:44 +02:00
webassembly Remove JS fallback 2025-11-14 11:18:18 +01:00
botd.mjs Add BotD Library and implement clientside webdriver detection. 2025-09-08 16:21:14 +02:00
botd.patch Add BotD Library and implement clientside webdriver detection. 2025-09-08 16:21:14 +02:00
cborg.js Update libs, fix updateLibs 2024-09-03 16:09:15 +02:00
electron-updater.mjs Update dependencies 2025-07-18 10:01:00 +02:00
jsQR.js Fix key verification dependencies for prod build 2025-03-19 15:01:40 +01:00
jszip.js Update dependencies 2025-07-18 10:01:00 +02:00
libs.d.ts Improve how models are generated 2022-04-25 15:50:51 +02:00
linkify-html.js Bump linkifyjs and linkify-html to 4.3.1 2025-05-15 11:36:46 +02:00
linkify.js Bump linkifyjs and linkify-html to 4.3.2 2025-08-04 13:34:21 +02:00
luxon.js Update dependencies 2025-07-18 10:01:00 +02:00
mithril.js Replace esbuild with Rolldown 2025-01-13 10:05:18 +01:00
node-sqlcipher.mjs [desktop] Use @signalapp/sqlcipher fork for db 2025-06-04 10:37:52 +02:00
purify.js Change DomPurify source to mjs file 2025-07-18 11:14:59 +02:00
qrcode.js Update libs, fix updateLibs 2024-09-03 16:09:15 +02:00
squire-raw.mjs Remove indentation on Enter and Backspace in empty blockquote line 2025-02-20 13:17:15 +01:00
stream.js [maintenance] upgrade mithril.js to v2.2.2 2022-07-07 13:53:49 +02:00
tensorflow-http-stub.js Add tensorflow.js library 2025-10-22 09:25:20 +02:00
tensorflow-platform-stub.js Add tensorflow.js library 2025-10-22 09:25:20 +02:00
tensorflow-stripped.js Implement spam training data sync and add TutanotaModelV98 2025-11-18 13:56:19 +01:00
tensorflow.js Implement spam training data sync and add TutanotaModelV98 2025-11-18 13:56:19 +01:00
undici.mjs Update dependencies 2025-07-18 10:01:00 +02:00