tutanota/tuta-sdk/rust/sdk/test_data/email_response_attachments.json
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

48 lines
1.4 KiB
JSON

{
"1308": [["O3lYN70--B-0", "O3lYUQK----0"]],
"1465": [],
"115": [["O3lYN71--J-0", "O3lYUQI----0"]],
"1022": null,
"1309": [],
"1310": [],
"1395": "0",
"100": "O3lYUQH--g-0",
"1307": "1",
"117": [["O3lYUQH--3-0", "O3lYUQH--7-0"]],
"1306": [
{
"96": [],
"95": "map-free@tutanota.de",
"94": "AYOKFnie29GjgBC1ZOem6yOL69I0bRx3DXuxSJqt5qs34a6LAgqmzll8ToEuQyLLaN4TXUT3KdfqGioM1pDxyNw=",
"93": "HvHzbg"
}
],
"1346": "Af715Yrdyl42FlYixEThz/flGIYo0gXFzpSp+H5rkMNLmaCZlP5d759VYf5U3aBVs8AE+N4URjk9RIPKM3ozlyY=",
"108": "2",
"617": null,
"466": "",
"587": "O3lYN6z--N-0",
"107": "1723113273034",
"1120": "AQfY+SB4qfB0Eo2Mz7N6pseQIFhKPr39aV5j7n0VB9jwN4mWSeXfK53FhdCfeYHc61IPWR4lyEipwS8yGcNGawc=",
"109": "0",
"99": ["O3lYN72--R-0", "O3lYUQH----0"],
"111": [
{
"94": "Aa9WzeZU8eovYX3G6i+5pAk5odHi3cSFvkzQmdQjeyJIBHzw3rf1xkpWCt0TTpZkhA1bw5aqxaJe/EXSHX5PUHg=",
"93": "k5gjqA",
"96": [],
"95": "bed-free@tutanota.de"
}
],
"866": "",
"101": "0",
"105": "AT2IjiolQ+E36x1w8sEC37OUTNxDdhO66UNb33JJ0DfwQE56pz+qPaLD2hoRRs+gDjMlAHwUVXAjmzfN1kjTTv7vfGVQzy6gp9+FVksoMoNW",
"102": "ATM3X9+VAfiDLdmezj2r8ZiDp30Hn5yCIMk1e+yRCssJmTxBLO2ikYk8SAjblphyFdabNn0jilmPS2xdXB8ck2JpP3ZEE+5Xv/39rJZ6M8li",
"426": "AR8zeFN4c98e8Ds8AkusyHbPK0iPTHJsnwisT/nzYPQhyVEMEV9SCk4s20/s5YKWdeU960ddEtcAcCpGRBVSS9Y=",
"1021": "0",
"896": "1723113273034",
"1677": null,
"1728": "1",
"1729": [],
"1769": "0"
}