Published: 28-09-2026

Application Of Mamdani's Fuzzy Logic In Modeling The Prediction Of Drug Abuse Levels In Padang City

Cindy Yunaldi
Universitas Nahdlatul Ulama Sumatera Barat
Indonesia
Yusli Yenni
Universitas Nahdlatul Ulama Sumatera Barat
Indonesia

Abstract

Drug abuse is a problem that can be influenced by various interrelated factors. This study aims to apply Mamdani Fuzzy logic in predicting the level of drug abuse in Padang City based on several factors obtained from documentation and interviews. The input variables used consist of the Age of the Perpetrator, Environment, Socializing, Gender, and Family, while the output variable is the Level of Drug Abuse with Low and High categories. The research stages include data collection, determining variables and fuzzy sets, fuzzification, forming if-then rules, inference using the minimum operator, composition using the maximum operator, and defuzzification using the centroid method. A total of 64 fuzzy rules are used to connect the combination of input variables with the output. Testing is done through manual calculations and implementation using MATLAB. The test results show that the output categories from manual calculations and MATLAB are the same in three test data, namely High, High, and Low. These results indicate that the Mamdani Fuzzy method can be used in modeling the level of drug abuse based on the variables used.

Keywords

Fuzzy Mamdani Drug Abuse Prediction MATLAB

Downloads

Download data is not yet available.

References

[1] DM Pahutar, L. Lindayanti, and N. Nopriyasman, “The Relationship between Settlements and Transportation Modes in Padang City 1957-2017,”Titian J. Hum Science., vol. 5, no. 1, pp. 25–43, 2021, doi: 10.22437/titian.v5i1.11870.
[2] Sawirman, "THE ROLE OF THE SUMBAR REGIONAL POLICE'S DIRECTORATE OF NARCOTICS IN PREVENTING NARCOTIC AND PSYCHOTROPIC SUBSTANCE ABUSE AMONG STUDENTS IN PADANG CITY,"EKASAKTI J. Researcher. Devotee., vol. 3, no. November, pp. 74–83, 2022, [Online]. Available: https://www.academia.edu/download/82788909/321.pdf
[3] NY Adila, “Conditions for Possession of Narcotics to be Subject to the Narcotics Law.” Accessed: February 9, 2015. [Online]. Available: https://marinews.mahkamahagung.go.id/putusan/syarat-penguasaan-narkotika-dapat-dikenakan-uu-narkotika-0uG
[4] A. Kadarmanta and Effriyanti, "The Impact of Drug Abuse on Social and Economic Aspects in the DKI Jakarta Province Region,"BULLET J. Multidisciplinary Science, vol. 01, no. 4, pp. 729–735, 2022.
[5] Firlan, V. Eka Suryani, A. Desiyanti, and M. Roufiq Azmy, “City of Раdang in Figures 2026,” vol. 47, 2026.
[6] ARA Shany, Y. Saefudin, and N. Ismail, “UMPurwokerto Law Review,” vol. 5, no. 2, pp. 11–20, 2025, doi: 10.30595/umplr.v5i2.27124.
[7] M. Atika and R. Sayekti, "Library Information System Based on Artificial Intelligence (AI): Literature Review,"NJ Inf. Science and Library., vol. 14, no. 1, pp. 39–52, 2023, [Online]. Available: https://e-journal.unair.ac.id/palimpsest/article/view/46405
[8] Rita Tri Wulandari, Ummi Syafiqoh, and M. Hafid, “Implementation of Mamdani Fuzzy Logic in Determining the Number of Product Orders at PT Forisa Nusapersada Tarakan Area,”J. Big Data Anal. Artif. Intel., vol. 6, no. 1, pp. 19–25, 2023, doi: 10.71302/jbidai.v6i1.44.
[9] D. Kurniadi, F. Nuraeni, and D. Jaelani, “Implementation of Mamdani Fuzzy Logic in the Prediction System for Prospective Recipients of the Family Hope Program,”J. Algoritm., vol. 19, no. 1, pp. 151–162, 2022, doi: 10.33364/algorithm/v.19-1.1016.
[10] H. Munte, Apip Pramudyansyah, and Umryah, “Comparison of Fuzzy Mamdani and Fuzzy Sugeno Methods for Employee Performance Evaluation (Case Study: XYZ Law Firm),”Comput. J. Comput. Sci. Inf. Syst., vol. 8, no. 1, pp. 1–12, 2024, doi: 10.24912/computatio.v8i1.11705.
[11] H. Arizal, "Analysis of Characteristics and Factors of Drug Abuse by Children in Padang City 2017 - 2022,"J. Educator. Tambusai, vol. 7, no. 1 SE-Articles of Research, pp. 2532–2537, March. 2023, doi: 10.31004/jptam.v7i1.5601.
[12] LAF Dewa, AS Purnomo, U. Mercu, B. Yogyakarta, and FT Informasi, “Application of Mamdani Fuzzy Logic Method to Identify the Level of Dependence on Online Games Among Students in Ende Regency 1,2,”J. Tech. Inform. and Sis. Inf., vol. 11, no. 4, pp. 90–102, 2024.

Article Metrics

0
views
0
downloads
Dimensions Citation Badge

Issue

Vol. 4 No. 3 (2026): JOCSTEC - September

Vol. 4 No. 3 (2026): JOCSTEC - September

Section: Artificial Intelligence pp. 145-163

How to Cite

[1]
Cindy Yunaldi and Yusli Yenni, Trans., “Application Of Mamdani’s Fuzzy Logic In Modeling The Prediction Of Drug Abuse Levels In Padang City”, JOCSTEC, vol. 4, no. 3, pp. 145–163, Sep. 2026, doi: 10.59435/jocstec.v4i3.810.

Share This Article

License

Copyright (c) 2026 Cindy Yunaldi, Yusli Yenni (Author)