SMS Spam DetectionIntelligent message classification system
Not EveryMessage DeservesYour Attention.
An intelligent SMS classification system powered by machine learning. Detect unwanted messages, identify suspicious patterns and understand how text-based classification works.
- messages
- 5,126
- features
- 3,000
- spam F1
- 91.21%
01Detection Studio
Paste a message.
Read the verdict.
Every result below is computed live by the persisted scikit-learn pipeline on the Python API: the same cleaning, vocabulary and fitted Naive Bayes weights as the experiment. Nothing is decided by keyword rules in the browser.
Ctrl + Enter to analyse
0 / 1,000 chars
Machine-learning predictions are not guarantees. Always exercise caution when interacting with suspicious messages.
Output · classificationMultinomial NB
Awaiting SMS
- 01Your text is cleaned exactly as it was during training.
- 02TF-IDF maps it onto the 3,000-term vocabulary.
- 03The fitted Naive Bayes model returns ham or spam.
02At a glance
Accuracy is easy.
Catching spam isn't.
A filter that never flags anything is already 87.72% accurate on this test set, because most SMS are legitimate. That is why the project chose models on spam F1, not accuracy.