The Apriori Algorithm for Analyzing Product Purchase Patterns at PT. Tridaya Medima Sakti
DOI:
https://doi.org/10.51903/k2jz9112Keywords:
Data Mining, Apriori, Purchase Pattern, Product BundlingAbstract
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
Issue
Section
License
Copyright (c) 2026 Danniel Riyantus WillaWiranata, Fransiska Prihatini Sihotang

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All articles published in this journal are open access and licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).
Under this license:
-
Authors retain copyright of their work.
-
Others are free to:
-
Share — copy and redistribute the material in any medium or format;
-
Adapt — remix, transform, and build upon the material for any purpose, even commercially;
-
-
As long as they:
-
Give appropriate credit to the original author(s) and the source;
-
Provide a link to the license;
-
Indicate if changes were made;
-
Distribute their contributions under the same license as the original.
-
This ensures that derivative works will also remain free and open under the same terms.













.png)