Example report 61 · Email services · Text Classification
Separate likely spam from useful email
Which incoming messages look like unsolicited bulk email?
Recommended by Impulse AI
Impulse AI result
Selected model: Impulse AI custom model
Standard algorithms and custom models are candidates within the Impulse AI workflow—not competing services.
- Illustrative test result · Accuracy
- 87.8%
Send suspect messages to a reversible review folder.
- Records
- 70,000 fictional emails
- Training / test
- 56,000 / 14,000
- Metric
- Accuracy · higher is better
- Models evaluated
- 8
01The business question
Which incoming messages look like unsolicited bulk email?
Each record represents one email. The target to predict is spam_message.
What you would do with it
Send suspect messages to a reversible review folder.
02The input data
Input messages or descriptions and their category labels, plus the six numeric descriptors below. Text comparison methods use the original text as well as the applicable descriptors.
- message_lengthinput
- link_countinput
- capital_ratioinput
- recipient_countinput
- trigger_word_countinput
- sender_history_scoreinput
- spam_messagetarget
Group-held-out 80/20 split; repeated entities stay in the same partition.
03Models evaluated
This illustrative recommendation represents model selection on training/validation data. The separate test scores below show how the candidates compare; a real workflow must not use its final test set to choose a model. Higher is better for Accuracy.
| Candidate model | Test Accuracy (illustrative) |
|---|---|
| Impulse AI custom modelSelected by Impulse AI | 87.8% |
| CatBoost | 86.5% |
| LightGBM | 85% |
| Random Forest | 83.6% |
| Multinomial Naive Bayes | 82.1% |
| Linear SVM (TF-IDF) | 80.7% |
| Logistic Regression (TF-IDF) | 79.3% |
| Most frequent classbaseline | 62% |
04Practical takeaway
In this fictional report, Impulse AI selects Impulse AI custom model, with an illustrative test result of 87.8%, compared with 62% for the Most frequent class baseline. Impulse AI’s role is to evaluate candidates and deliver the selected model, whether it uses a standard algorithm or a custom model. The prediction supports one decision: send suspect messages to a reversible review folder.
05Limitations
- A text-plus-descriptor adaptation of Spambase. Check false positives and new campaigns; a spam score does not prove a message is malicious.
- All rows and scores are invented for illustration; a real table would need its own evaluation.
- A single test split gives one estimate; scores on new data will vary.
06Source of inspiration
OpenML · Public dataset catalog · OpenML 44
Spambase(opens in new tab)The linked sources inspired this fictional problem; the report may simplify or adapt the original task. No source datasets were downloaded or evaluated, and no competition results were copied.
07Exploratory data profile
A compact illustrative profile of the 6 inputs, not the full checks a real engine run performs. 1,680 missing values appear across the table. All ranges are fictional.
| Column | Type | Valid | Missing | Missing % | Unique | Mean | Std dev | Min | 25% | Median | 75% | Max | Zeros % |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| message_length | Numeric | 70,000 | 0 | 0.0% | 220 | 45 | 30 | 0 | 22.5 | 45 | 67.5 | 360 | 1.0% |
| link_count | Numeric | 70,000 | 0 | 0.0% | 341 | 57 | 38 | 0 | 28.5 | 57 | 85.5 | 440 | 2.5% |
| capital_ratio | Numeric | 68,740 | 1,260 | 1.8% | 121 | 0.64 | 0.24 | 0 | 0.46 | 0.64 | 0.82 | 1 | 4.0% |
| recipient_count | Numeric | 70,000 | 0 | 0.0% | 583 | 81 | 54 | 0 | 40.5 | 81 | 121.5 | 600 | 1.0% |
| trigger_word_count | Numeric | 69,580 | 420 | 0.6% | 681 | 93 | 62 | 0 | 46.5 | 93 | 139.5 | 680 | 2.5% |
| sender_history_score | Numeric | 70,000 | 0 | 0.0% | 121 | 0.64 | 0.24 | 0 | 0.46 | 0.64 | 0.82 | 1 | 4.0% |
08Use your model
Download model
Take a reusable model package to run predictions in your own environment.
Host for inference
Have Impulse AI host your model so you can send new data for predictions.
Related reports
- Consumer brandsText Classification
Understand sentiment in product reviews
Does a written product review express positive, neutral or negative sentiment?
predicts review_sentiment
Open report - Media & entertainmentText Classification
Organize a media catalog from descriptions
Assign a broad category to each incoming title description.
predicts content_category
Open report - Customer operationsText Classification
Route support requests to the right team
Classify each support message by the team most likely to help.
predicts support_team
Open report