Skip to content

Example report 67 · Commerce search · Ranking

Rank product search results by relevance

Which candidate products best match a shopper’s query?

All examples

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.

Candidates within the Impulse AI workflow; fictional test scores, not a ranking of competing services
Candidate modelTest Spearman correlation (illustrative)
Impulse AI custom modelSelected by Impulse AI0.19
Elastic Net0.168
CatBoost Ranker0.15
XGBoost Ranker0.132
LightGBM Ranker0.114
Random Forest0.096
Ridge Regression0.078
Random rankingbaseline0

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.

Illustrative column profile, fictional values
ColumnTypeValidMissingMissing %UniqueMeanStd devMin25%Median75%MaxZeros %
token_overlapNumeric76,00000.0%238483202448723841.0%
category_matchNumeric76,00000.0%359604003060904642.5%
attribute_matchNumeric74,6321,3681.8%4807248036721085444.0%
query_lengthNumeric76,00000.0%6018456042841266241.0%
product_popularityNumeric75,5444560.6%7229664048961447042.5%
availability_flagBinary76,00000.0%20.640.480011136.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.