Tesco – Customer basket weights

Tesco – Customer basket weights

15 million online shoppers

£63.911 billion (2019)

founded in 1919

Customer basket weight prediction for Tesco

Tesco is one of the biggest names in home shopping in the UK. Millions of customers rely on Tesco for their weekly grocery shop, with these numbers only increasing during the pandemic.

Tesco needed to understand and predict when customers are likely to add large heavy items to their online shopping basket. Tesco’s delivery vans are typically small vans, which are able to turn in residential streets, and have a maximum load capacity of 800 kg. Customers' orders are often in the range 20-50 kg, and one driver typically visits up to 30 customers' homes in a trip. Customers are typically allowed to modify their baskets until midnight the day before their delivery. This can cause problems with logistics, since a large last-minute change to an order can push a driver’s load over 800 kg. For this reason, Tesco wanted to better understand and predict customers' shopping preferences, in particular customers' order weights. Fast Data Science developed a predictive model using Gradient Boosted Trees in PySpark which predicts the likely shopping weight in kilograms of every customer with a Clubcard, varying by date. For example, Christmas is a peak time when customers order large quantities of alcohol, which is heavy and expensive to transport. The model takes account of the customer’s purchase history, location, demographic data, and the date of the delivery, to produce a prediction for all 15 million customer and address combinations in Tesco’s order database, daily.

Fast Data Science - London

Need a business solution?

NLP, ML and data science leader since 2016 - get in touch for an NLP consulting session.

This means that every time you place an order on tesco.com, Tesco is now able to anticipate how much that order will weigh in kilos, and will have allocated you to a vehicle… before you have even decided what to buy!

The model provided a 3% increase in accuracy of Tesco’s prediction of shopping basket weights, allowing Tesco to make better use of its van fleet, save on fuel, and pack its vehicles more efficiently..ation=“none”

What we can do for you

Transform Unstructured Data into Actionable Insights

Contact us