Research notes.
5,574 raw rows; 5,159 normalized unique messages; 415 removed; 4,127 train / 1,032 test. Accuracy 96.32%, spam precision 100.00%, spam recall 70.31%. Exact normalized duplicate messages cannot cross the split; near-duplicates may remain.
Is this trained on email?
The file contains labelled SMS messages. The original repository name says email, but email-specific performance has not been evaluated.
Does “not flagged” mean a message is safe?
No. A classifier can miss spam and cannot verify links, senders or attachments. Unknown vocabulary is explicitly identified instead of presented as a reliable verdict.
How was leakage reduced?
Messages are lowercased and trimmed for duplicate detection before a stratified 80/20 split. Near-duplicates may remain. Evaluation covers this dataset, not modern or multilingual messaging.
Provenance
Original repository. Source snapshots and reproducible scripts are included in the downloadable project kit.