A Validated Synthetic Testbed for Graph-Based Product Affinity Research in E-Commerce

Main Article Content

Bence Ferenc Török

Abstract

E-commerce baskets often show product relationships that are not obvious from catalog categories alone. This study builds a product-product graph to examine such relationships in a controlled market basket dataset. Each product is represented as a node, and each co-purchased product pair is represented as a weighted edge. The dataset contains 100 products, 2,500 users, 30,000 orders, 93,520 order-item records, 248,832 behavioral events, and 4,569 graph edges. The analysis uses co-purchase count, support, confidence, lift, and pointwise mutual information to measure product affinity. The graph was checked through 53 validation tests covering schema structure, identifier consistency, transaction accuracy, graph construction, and edge-metric correctness. Fifty-one tests passed, while two failed because the validation script expected the split label “validation” but the dataset used “valid.” Hidden affinity pairs such as Cat Food Salmon–Lint Roller Refill, Hiking Socks–Travel Journal, Matcha Green Tea Powder–Pastel Highlighter Pack, and Coffee Beans–Dotted Journal Notebook were present in the graph and showed positive association patterns. These results suggest that some product links are better explained by customer routines, such as pet ownership, travel, studying, and planning, than by category similarity. The study therefore provides a validated data and graph foundation for later graph neural network experiments, rather than a finished recommendation system

Article Details

Section

Articles

How to Cite

A Validated Synthetic Testbed for Graph-Based Product Affinity Research in E-Commerce. (2024).  Transactions on Artificial Intelligence, Machine Learning, and Cognitive Systems, 9(8), 1-25. https://fourierstudies.com/index.php/TAIMLCS/article/view/2024-08-04