Menu

1 / 2

Gradient boosting leads early, LSTMs and transformers overtake it later: predicting purchase intent click by click

DEV Community: machinelearning·Hua Li·15 days ago
#JDV1x0sA
Long article (3810 words) — no AI summary yet.
Reading 0:00
15s threshold

Summary

Can you tell, a few clicks into a shopping session, whether the visitor will buy? I built a ladder of eight models, from guessing the base rate to a transformer with self-supervised pre-training, and scored 4.9 million anonymous shopping sessions after 1, 2, 3, 5 and 10 clicks. The comparisons were fixed before the test window was opened, and it was opened once. In the first few clicks, gradient boosting on about two dozen hand-built summary features beat every neural model; by ten clicks, every sequence model had passed it. The validation window showed a similar trend.

Key findings

At one click, every model ties. All four are within about 1% of each other: a single click carries little signal, and no model can do more with it.

Gradient boosting's lead is largest at two clicks: the sequence models trail by 6–7% on the test window and 5–6% on the validation window.

At three clicks, the pre-set test favors gradient boosting.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.