Example report 16 · Consumer brands · Text Classification
Understand sentiment in product reviews
Does a written product review express positive, neutral or negative sentiment?
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
- 84.2%
Identify product-feedback themes for human review, rather than sorting support tickets into teams.
- Records
- 25,000 fictional review texts
- Training / test
- 20,000 / 5,000
- Metric
- Accuracy · higher is better
- Models evaluated
- 8
01The business question
Does a written product review express positive, neutral or negative sentiment?
Each record represents one review text. The target to predict is review_sentiment.
What you would do with it
Identify product-feedback themes for human review, rather than sorting support tickets into teams.
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.
- review_lengthinput
- word_countinput
- language_confidenceinput
- sentiment_term_countinput
- punctuation_ratioinput
- verified_purchase_flaginput
- review_sentimenttarget
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 | 84.2% |
| CatBoost | 82.9% |
| LightGBM | 81.5% |
| Random Forest | 80% |
| Multinomial Naive Bayes | 78.5% |
| Linear SVM (TF-IDF) | 77.1% |
| Logistic Regression (TF-IDF) | 75.7% |
| Most frequent classbaseline | 62% |
04Practical takeaway
In this fictional report, Impulse AI selects Impulse AI custom model, with an illustrative test result of 84.2%, 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: identify product-feedback themes for human review, rather than sorting support tickets into teams.
05Limitations
- Exclude star ratings when predicting text sentiment to avoid leaking the label. Sarcasm, mixed sentiment and language differences require review.
- 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
Kaggle Datasets · Dataset catalog; historical product reviews through October 2012
Amazon Fine Food Reviews(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. 600 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 % |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| review_length | Numeric | 25,000 | 0 | 0.0% | 85 | 22.5 | 15 | 0 | 11.25 | 22.5 | 33.75 | 180 | 1.0% |
| word_count | Numeric | 25,000 | 0 | 0.0% | 206 | 34.5 | 23 | 0 | 17.25 | 34.5 | 51.75 | 260 | 2.5% |
| language_confidence | Numeric | 24,550 | 450 | 1.8% | 121 | 0.64 | 0.24 | 0 | 0.46 | 0.64 | 0.82 | 1 | 4.0% |
| sentiment_term_count | Numeric | 25,000 | 0 | 0.0% | 421 | 58.5 | 39 | 0 | 29.25 | 58.5 | 87.75 | 420 | 1.0% |
| punctuation_ratio | Numeric | 24,850 | 150 | 0.6% | 121 | 0.64 | 0.24 | 0 | 0.46 | 0.64 | 0.82 | 1 | 2.5% |
| verified_purchase_flag | Binary | 25,000 | 0 | 0.0% | 2 | 0.64 | 0.48 | 0 | 0 | 1 | 1 | 1 | 36.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
- 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 - Email servicesText Classification
Separate likely spam from useful email
Which incoming messages look like unsolicited bulk email?
predicts spam_message
Open report