Example report 67 · Commerce search · Ranking
Rank product search results by relevance
Which candidate products best match a shopper’s query?
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 · Spearman correlation
- 0.19
Compare relevance ordering before a controlled search experiment.
- Records
- 76,000 fictional query-product pairs
- Training / test
- 60,800 / 15,200
- Metric
- Spearman correlation · higher is better
- Models evaluated
- 8
01The business question
Which candidate products best match a shopper’s query?
Each record represents one query-product pair. The target to predict is query_relevance_grade.
What you would do with it
Compare relevance ordering before a controlled search experiment.
02The input data
- token_overlapinput
- category_matchinput
- attribute_matchinput
- query_lengthinput
- product_popularityinput
- availability_flaginput
- query_relevance_gradetarget
Date-grouped 80/20 split; related records from the same evaluation date stay together.
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 Spearman correlation.
| Candidate model | Test Spearman correlation (illustrative) |
|---|---|
| Impulse AI custom modelSelected by Impulse AI | 0.19 |
| Elastic Net | 0.168 |
| CatBoost Ranker | 0.15 |
| XGBoost Ranker | 0.132 |
| LightGBM Ranker | 0.114 |
| Random Forest | 0.096 |
| Ridge Regression | 0.078 |
| Random rankingbaseline | 0 |
04Practical takeaway
In this fictional report, Impulse AI selects Impulse AI custom model, with an illustrative test result of 0.19, compared with 0 for the Random ranking 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: compare relevance ordering before a controlled search experiment.
05Limitations
- This adapts graded relevance into a ranking report. Group by query and separate relevance from paid placement or sales lift.
- 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 · Historical competition archive
Crowdflower Search Results Relevance(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,824 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 % |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| token_overlap | Numeric | 76,000 | 0 | 0.0% | 238 | 48 | 32 | 0 | 24 | 48 | 72 | 384 | 1.0% |
| category_match | Numeric | 76,000 | 0 | 0.0% | 359 | 60 | 40 | 0 | 30 | 60 | 90 | 464 | 2.5% |
| attribute_match | Numeric | 74,632 | 1,368 | 1.8% | 480 | 72 | 48 | 0 | 36 | 72 | 108 | 544 | 4.0% |
| query_length | Numeric | 76,000 | 0 | 0.0% | 601 | 84 | 56 | 0 | 42 | 84 | 126 | 624 | 1.0% |
| product_popularity | Numeric | 75,544 | 456 | 0.6% | 722 | 96 | 64 | 0 | 48 | 96 | 144 | 704 | 2.5% |
| availability_flag | Binary | 76,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
- Investment researchRanking
Compare equity research signals
Rank fictional assets by next-period relative performance.
predicts future_relative_rank
Open report - ProcurementRanking
Rank supplier performance risks
Which suppliers should a procurement analyst review first?
predicts future_service_rank
Open report - Travel marketplacesRanking
Recommend accommodation that fits a trip
Which available hotels best match the stated needs of a trip?
predicts trip_hotel_preference
Open report