A comparative study of machine learning methods for drug type classification

Andi Tejawati, Didit Suprihanto, Aji Ery Burhandenny, Saipul Saipul, Novianti Puspitasari, Anindita Septiarini

Abstract


Drugs, commonly called narcotics, are dangerous substances that, if consumed excessively, can result in addiction and even death. Drug abuse in Indonesia has reached a concerning stage. In 2017, the National Narcotics Agency detected 46,537 drug-related incidents, including methamphetamine, marijuana, and ecstasy. There are 4 types of substances that can affect drug users, such as hallucinogens, depressants, opioids, and stimulants. A machine learning approach can detect these substances using user symptom data as input. This study uses six different methods in classifying, including decision tree, C.45, K-nearest neighbor (KNN), random forest, and support vector machine (SVM). The dataset comprises 144 data and 21 attributes based on the user's symptoms. The evaluation method in this study uses cross-validation with K-fold values of 5 and 10 and uses three parameters: precision, recall, and accuracy. KNN yields the most optimal results by using K=1 and K-fold 10 in the Euclidean and Minkowski types. The model achieves precision, recall, and accuracy of 91.9%, 91.7%, and 91.67%, respectively.

Keywords


Classification; Cross-validation; Drug types; K-nearest neighbor; Machine learning

Full Text:

PDF


DOI: https://doi.org/10.11591/eei.v14i4.9477

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Bulletin of EEI Stats

Bulletin of Electrical Engineering and Informatics (BEEI)
ISSN: 2089-3191e-ISSN: 2302-9285
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).