EUVIMEDEUVIMED entdecken
Open Access · CC BY-NC 4.0

ANALISIS PROBALITAS NAÏVE BAYES BERBASIS LAPLACE SMOOTHING KEBUTUHAN RESTOCK FARMASI

Arga Fauzi Indratna, Adi Fajaryanto Cobantoro, Ismail Abdurrozzaq Zulkarnain

INTI Nusa Mandiri · 12.08.2026 · 21 (1) · 122-130

DOI: 10.33480/inti.v21i1.8663 ↗

Kurz gefasst

Fachartikel in der Zeitschrift INTI Nusa Mandiri, online erschienen am 12.08.2026. Verfasst von Arga Fauzi Indratna und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-NC 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Drug inventory management plays a critical role in supporting hospital health services. Amal Sehat Wonogiri Hospital faces challenges in managing drug stocks due to manual recording processes prone to errors, data update delays, and inaccurate inventory information, creating risks of stock-out and overstock conditions. This study implements the Naive Bayes algorithm with Laplace Smoothing optimization to classify drug stock conditions into three categories: Safe (Aman), Low Stock (Menipis), and Needs Restocking (Restok). To address class imbalance in the dataset, this study applies SMOTE (Synthetic Minority Over-sampling Technique) and provides a comparative analysis against the Decision Tree C4.5 algorithm. The system was developed using the Rapid Application Development (RAD) methodology with the Laravel framework and MySQL database, utilizing 38,531 historical pharmacy transaction records from January to October 2025. Following a stratified 80:20 train-test split, model evaluation on 7,707 test records yielded an accuracy of 84.04%, with weighted-average precision of 87% and recall of 84%. Five-fold cross-validation confirmed model stability with a mean accuracy of 83.16%. Comparative experiments demonstrated that although Decision Tree achieves higher overall accuracy (87.43%), Naive Bayes with Laplace Smoothing significantly outperforms Decision Tree in detecting the critical Low Stock class (F1-score: 54.73% vs 25.23%; recall: 70.69% vs 16.09%), proving its superiority in minimizing the risk of undetected stock shortages.

Zitieren

APA

Indratna, A. F., Cobantoro, A. F., & Zulkarnain, I. A. (2026). ANALISIS PROBALITAS NAÏVE BAYES BERBASIS LAPLACE SMOOTHING KEBUTUHAN RESTOCK FARMASI. INTI Nusa Mandiri, 21(1), 122-130. https://doi.org/10.33480/inti.v21i1.8663

Vancouver

Indratna AF, Cobantoro AF, Zulkarnain IA. ANALISIS PROBALITAS NAÏVE BAYES BERBASIS LAPLACE SMOOTHING KEBUTUHAN RESTOCK FARMASI. INTI Nusa Mandiri. 2026;21(1):122-130. doi:10.33480/inti.v21i1.8663

BibTeX
@article{Indratna2026,
  author = {Indratna, Arga Fauzi and Cobantoro, Adi Fajaryanto and Zulkarnain, Ismail Abdurrozzaq},
  title = {ANALISIS PROBALITAS NAÏVE BAYES BERBASIS LAPLACE SMOOTHING KEBUTUHAN RESTOCK FARMASI},
  journal = {INTI Nusa Mandiri},
  year = {2026},
  volume = {21},
  number = {1},
  pages = {122--130},
  doi = {10.33480/inti.v21i1.8663}
}
Kostenlos starten →