Machine learning on national shopping data reliably estimates childhood obesity prevalence and socio-economic deprivation
Deprivation pushes people to choose cheap, calorie-dense foods instead of nutritious but expensive alternatives. Diseases, such as obesity, cardiovascular disease, and diabetes, resulting from these poor dietary choices place a significant burden on public health systems. Measuring nutritional insecurity is difficult to achieve at scale and so the ability to study the relationship between nutritional outcomes and deprivation at a national level is very challenging. This makes it difficult to understand the effect of new policies or track changes over time. To address this challenge, we develop a machine learning approach using massive anonymised transactional data (4 million members and 2.5 billion transactions) in partnership with the retailer The Co-operative Group UK. We engineer a series of variables related to obesogenic diets, including a new measure called ‘Calorie-oriented purchasing’. These variables help illustrate how large-scale transactional data can discriminate between neighbourhoods most affected by deprivation and childhood obesity. Through comparative assessment of machine learning approaches, we find better performance from tree-based models (Random Forest, XGBoost) with the best-achieving accuracy of 0.88 for predicting deprivation and an accuracy of 0.79 for childhood obesity. Calorie-oriented purchasing emerges as a robust predictor of deprivation and childhood obesity at the census area level. Results show this approach can help summarise nutritional insecurity, and support its spatio-temporal monitoring. We conclude with policy implications and recommend retailers adopt new measures for measuring national nutrition insecurity. • We analyse anonymised shopping data for > 4 million customers and > 2.5 billion transactions. • A new measure ‘Calorie-oriented purchasing’ reveals when people get more calories per pound spent. • Machine learning on shopping data predicts local area deprivation & childhood obesity prevalence. • Results show calorie-oriented purchasing is robust predictor of deprivation & childhood obesity. • Shopping data analysis can improve real-time assessment of deprivation and policy effectiveness.
Authors
- J. Harvey (ORCID: https://orcid.org/0000-0003-4188-1900)
- Roberto Mansilla (ORCID: https://orcid.org/0000-0002-7929-1968)
- Edward Powell
- Gavin Long (ORCID: https://orcid.org/0000-0002-3142-2201)
- James Goulding (ORCID: https://orcid.org/0000-0002-8892-6398)
- Georgiana Nica‐Avram
- Gregor Engelmann
- Evgeniya Lukinova (ORCID: https://orcid.org/0000-0002-8357-9307)
- Simon Welham (ORCID: https://orcid.org/0000-0002-9409-1032)
- Michelle Thomas (ORCID: https://orcid.org/0000-0001-5699-4508)
- Elizabeth Dolan (ORCID: https://orcid.org/0000-0002-1265-5165)
- Kuzivakwashe Makokoro
Institutions
- University of Nottingham (GB)
- Co-operative College (GB)
Publication Details
- Journal
- Food Policy
- Published
- 2025-02-01
- DOI
- https://doi.org/10.1016/j.foodpol.2025.102826
- Citations
- 2
- Primary Topic
- Obesity, Physical Activity, Diet
- Type
- article
- Field-Weighted Citation Impact
- 3.76