The Apriori Algorithm for Analyzing Product Purchase Patterns at PT. Tridaya Medima Sakti

Authors

  • Danniel Riyantus WillaWiranata Fakultas Sistem Informasi, Universitas Multi Data Palembang, Sumatera Selatan, Indonesia
  • Fransiska Prihatini Sihotang Fakultas Sistem Informasi, Universitas Multi Data Palembang, Sumatera Selatan, Indonesia https://orcid.org/0009-0005-3635-0963

DOI:

https://doi.org/10.51903/k2jz9112

Keywords:

Data Mining, Apriori, Purchase Pattern, Product Bundling

Abstract

An imbalance between inventory levels and market demand may result in overstock, rising storage expenses, and an increased risk of product damage. PT. Tridaya Sakti Medima, a pharmaceutical distribution company located in Palembang, encounters similar challenges in managing its inventory. This research aims to analyze purchasing patterns using the Apriori algorithm and data mining techniques, and to design a product recommendation system to support decision-making in inventory control. The study adopts the CRISP-DM (Cross-Industry Standard Process for Data Mining) methodology, which comprises the business understanding, data preparation, modeling, evaluation, and deployment stages. The analyzed transactional data comprises historical sales records from January to December 2024, totaling 5,410 entries after data cleaning. The analysis was carried out using Python, while Streamlit was utilized to develop an interactive dashboard for visualization. The findings indicate that the Apriori algorithm successfully identifies association rules among products based on support and confidence metrics. The highest confidence and lift values were found in product (ITR) PECTORIN SYRUP 120 ML @ 24 and (ITR) ITRABAT SYR 100ML @ 24, with a lift ratio of 16.43. These results are presented through a dashboard designed to assist PT. Tridaya Sakti Medima is improving its inventory management and addressing stock imbalance issues.

Downloads

Published

2026-04-26